This is a simple datepicker for angularjs. Includes the build system
Dependencies to run: datejs angular ~1.4.9
npm install
gulp
node server.jsGo to http://localhost:3000 and enjoy!
- Import the files dist/datepicker.min.css and misc/datepicker.js
- Go here to get your datejs locale
- Include the datejs file and datepicker.js to your application
- Use the directive <datepicker>
- Enjoy!
<datepicker min=0 max=20></datepicker>This will force the user to select from today up to +20 days. Use relative numbers to adjust. No attribute means no date limit.
This project uses DateJS. The french locale file has been included for the demonstration only Original sources are available here