Minification issue: Unknown provider
amergin opened this issue · 0 comments
amergin commented
I'm seeing the following error when trying to minify the angular-growl.js:
[$injector:unpr] Unknown provider: translateFilterProvider <- translateFilter <- growl <- NotifyService.
Best to my knowledge, this is somehow caused by the line https://github.com/JanStevens/angular-growl-2/blob/master/build/angular-growl.js#L201.
I'm using ng-annotate followed by uglify in a Grunt build setup. The code works okay if it's not being minified.
Has anyone stumbled on this? What could be the cause?