angular-sb-date-select icon indicating copy to clipboard operation
angular-sb-date-select copied to clipboard

Use one time bindings for arrays

Open simison opened this issue 9 years ago • 0 comments

Use one time binding for the year array, since it is not changing after initializing the directive.

https://docs.angularjs.org/guide/expression#one-time-binding

Edit: I made this change initially for month and day arrays as well, but of course they need to be changed when choosing the current/max year.

simison avatar Feb 20 '16 13:02 simison