An angular plugin provides datetime picker.
Add the ngDatetimePicker module as a dependency to your application module:
var myAppModule = angular.module('MyApp', ['ngDatetimePicker'])
The ngDatetimePicker directive allows you to specify element as a datetime picker.
This directive executes at priority level 0.
as attribute:
<input
ng-datetime-picker="YOUR_OPTIONS">
Param | Type | Details |
---|---|---|
ngDatetimePicker | expression | Expression to specify custom options to datetime picker. |
<input
ng-datetime-picker="{closeOnSelected: true}">
The project is released under the MIT license.
The project's website is located at https://github.com/emn178/angular-simple-datetimepicker
Author: Chen, Yi-Cyuan (emn178@gmail.com)