Archive for the 'Bootstrap' Category

How to create an Angular directive for eonasdan’s Bootstrap datetime picker

I recently needed to add a DateTime picker to Process Street for use with our upcoming assignment feature. I ended up choosing eonasdan’s DateTime picker. Here’s the code to wrap it in an AngularJS directive:

…and here’s the code to include it in your AngularJS app: