Viktor Tarnavskyi
Viktor Tarnavskyi
 vm.maxDate = moment(new Date()).format('LL'); vm.minDate = moment(new Date()).subtract(6, 'days').format('LL'); Sometimes i can switch back, but than can not switch forward. You can play with amount of subtracted days to...
Shure: http://plnkr.co/edit/iskHJp4BVeF3CmZwSGSq?p=preview How to reproduce: 1. Open date picker 2. Switch from December to November 3. Try to switch back on December
You should use the forked version - https://www.npmjs.com/package/@danielmoncada/angular-datetime-picker