angular-period
AngularJS directive for switching the DOM in the period.
Installation
use bower:
bower install --save angular-period
use npm:
npm install --save angular-period
Usage
Include angular-period
with angular
in your application.
Add the module angularPeriod
as a dependency to your app module.
angular;
Add the directive in your module.
The previous period when this section is displayed. The duration when this section is displayed. The after period when this section is displayed.
About date parsing
ngPeriod
dosen't support date string parsing.
If you seek safety, please specify the Date Object
or momentjs etc.
Date class that compatible with the library in ngperiod.
LICENSE
MIT