indrimuska / angular-moment-picker

Angular Moment Picker is an AngularJS directive for date and time picker using Moment.js.
http://indrimuska.github.io/angular-moment-picker/
MIT License
527 stars 229 forks source link

The opitons of attribute and momentPickerProvider is not macthed. #255

Closed vanpipy closed 5 years ago

vanpipy commented 6 years ago

Hey.

I have have some questions about the config of options.

I saw liite the source code and take a piece of like this https://github.com/indrimuska/angular-moment-picker/blob/4a1405178a5b8547344c62a1ff2c9de15a97ce3a/src/directive.ts#L17

Why did not import all of momentPickerProvider options as the valid input as directive attribute options?

Too much computation or something others? I love angular-moment-picker, but i want to have multiple minutes-step in one angular.js application, i found it can not be solved at current version angular-moment-picker, so open this issue. And thanks for take a look :D.