#ng-static-daterange
version 1.0
for user choose static date range
Watch the Tree component in action on the demo page.
Angular 1.x and Bootstrap 3
- Using bower to install it.
bower install ng-static-daterange
- Using npm to install it .
npm install ng-static-daterange
Add the sortable module as a dependency to your application module:
var myAppModule = angular.module('MyApp', ['ngStaticDateRange'])
<p ng-static-date-range on-range-change="dateRangeChanged($dateRange)" range-model="dateRange" format="yyyy/MM/dd" class="form-group"></p>
like ng-change,when date range are changeed
binding model,will init to {startDate: xxx, endDate: xxx},both startDate and endDate are Date type.
how many days the static range are.
format of date range to display .