angular-bootstrap3-datepicker
angular-bootstrap3-datepicker copied to clipboard
Directive is not working in strict DI mode
Since I use bundling, I enable the ng-strict-di mode and I saw that your directive doesn't support it.
I had to wrap your directive with ["di1", ... function(di1){ }]);
Basically the code changes to this
dp.directive('ngBs3Datepicker', ['$compile', function($compile) { // added: ['$compile',
...
}]); // added:: ]
After that it works correctly and can be minified without issues.