The mobile-friendly, responsive, and lightweight Angular.js date & time input picker. Perfect for Ionic apps!
This is basically a pickadate.js fork that completely removes the jQuery dependency and adds Angular.js directives.
bower install angular-native-datepicker
Include build/angular-datepicker.js in your application:
<script src="angular-datepicker.js"></script>Add the module angular-datepicker as a dependency to your app module:
var myapp = angular.module('myapp', ['angular-datepicker']);To create a date or time picker, add the pick-a-date or pick-a-time directive to your input tag:
<input type="text" pick-a-date="date" placeholder="Select Date" /> {{ date }}
<input type="text" pick-a-time="time" placeholder="Select Time" /> {{ time }}