Skip to content

Minification issue: Unknown provider #124

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
amergin opened this issue May 1, 2017 · 0 comments
Open

Minification issue: Unknown provider #124

amergin opened this issue May 1, 2017 · 0 comments

Comments

@amergin
Copy link

amergin commented May 1, 2017

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant