/angular-datepicker

calendar and datepicker directives for angular

Primary LanguageJavaScript

AngularJS datepicker directives

Requirements

  • Angular v1.1.4+
  • jQuery or your own implementation of position() on top of jQuery Lite

Development version

Checkout branch dev, run grunt install and bower install. To build run gunt build

Examples

Live demo : http://run.plnkr.co/erJj712N4bbkGsub/

defaults
<div date-picker="start"></div>
year view
<div date-picker="start" year></div>
month view
<div date-picker="start" month></div>
only date view
<div date-picker="start" date></div>
hours view
<div date-picker="start" hours></div>
minutes view
<div date-picker="start" minutes></div>
input as datepicker
<input type="datetime" date-time ng-model="start">
input with formatted value
<input type="datetime" date-time ng-model="end" hours format="short">
date-range picker
<div date-range start="start" end="end"></div>