I was searching for a simple timepicker directive, much like the one used in Google Calendar, for one of my projects. I couldn’t find any, so I built my own.
As I continue my journey into the Angular world, I come across many new and awesome things. One very interesting thing Angular has got going for it is the use of scopes.
I’ve recently started using AngularJS in a project I’m currently working on. So far, AngularJS has been great, and I’ve especially enjoyed building my own custom directives.
Here’s one I’m using to determine the current display mode for responsive websites.
In one of my recent projects, I’ve had to implement a property that displays a list of checkboxes so the administrator could select an item to enable from the list of available options. I googled around for a bit and came across this article by Linus Ekström.
This is my implementation.