angular-momentjs
angular-momentjs copied to clipboard
bower's angular-momentjs.min.js throwing errors
bower installed angular-momentjs
Then used the minified version angular-momentjs.min.js, and it threw up errors for me.
Error: $injector:unpr
Unknown Provider
Eventually worked out the angular-momentjs.js file worked fine. Just thought I'd mention it instead anyone else runs into that.
Minimaiser is working wrong. At the module("gdi2290.moment-service") find code "this.$get =" Minimaizer deleted "['$timeout', '$document', '$q', '$window', " this is call error. Shoud be something this:
this.$get=['$timeout','$document','$q','$window',function(c,d,e,f){var g=e.defer(),h=f.moment;if(b){var i=function(){c(function(){g.resolve(f.moment)})};a(d[0],i)}return b?g.promise:h}];
Not this: this.$get=function(c,d,e,f){var g=e.defer(),h=f.moment;if(b){var i=function(){c(function(){g.resolve(f.moment)})};a(d[0],i)}return b?g.promise:h};
thanks for submitting an issue and sorry about this. The repo is overdue for an update