angular-growl-2 icon indicating copy to clipboard operation
angular-growl-2 copied to clipboard

Minification issue: Unknown provider

Open amergin opened this issue 7 years ago • 0 comments

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?

amergin avatar May 01 '17 23:05 amergin