Angular 1.5.x Component for Eonasdan's bootstrap-datetimepicker
http://ejfrias.com/playground/bootstrap-datetimepicker-angular
Eonasdan's date/time picker widget
Just add a bootstrap-datetimepicker-angular.js after bootstrap-datetimepicker.js:
<script src="/path/to/bootstrap-datetimepicker-angular.js"></script>
Require the component in your module
angular.module('myApp', ['bootstrap-datetimepicker-angular'])
Then, add the <date-time-picker />
component anywhere on your app:
<date-time-picker ng-model="date" placeholder="Pick a date"></date-time-picker>
Name | Type | Required | Description |
---|---|---|---|
ng-model | string | required | Scope property. |
placeholder | string | optional | Placeholder of the input element. |
format | string | optional | DateTime format based from moment.js |