Flexible angular date range picker without dependencies. For a demo visit https://github.io/StudentUniverse/su-datepicker-angular
This package is intended to be used with angular 1.x. Tested with 1.2.29.
Download su-datepicker-angular using bower.
bower install su-datepicker-angular
Make sure that the javascript is referenced in the page typically
<script src="bower_components/su-datepicker-angular/dist/su-datepicker-angular.min.js"></script>
Declare su-datepicker-angular as angular module dependency
angular.module('myApp', ['su.datepicker'])
Bower is used as the build system so you need to have it installed globally. npm install -g grunt-cli
should do it.
- clone the repo
- run
npm install
to get the dev dependencies - run
grunt
To generate a new version of the dist run grunt dist
.
Karma is used to execute Jasmine tests. Get the command line interface npm install -g karma-cli
and then run grunt test
to build and run the tests.