angular2-daterangepickerA simple Angular 2 directive that wraps the Bootstrap daterangepicker found at http://www.daterangepicker.com/. To use this directive, you must include jQuery, momentJS, and Bootstrap CSS.
InstallingTo install as an NPM package, run
npm install --save angular2-daterangepicker. Make sure to include the provided css file.
UsageImport the directive and provide it in the
directivesarray on your component. In your template, use
daterangepickeras an attribute on an
inputelement. There is one input binding of
optionsthat expects an object of any options available at http://www.daterangepicker.com/#options.