Open amergin opened 7 years ago
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?
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?