Skip to content
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

Error: $injector:unpr Unknown Provider #17

Open
x1unix opened this issue Jun 20, 2016 · 1 comment
Open

Error: $injector:unpr Unknown Provider #17

x1unix opened this issue Jun 20, 2016 · 1 comment

Comments

@x1unix
Copy link

x1unix commented Jun 20, 2016

Angular throws error when I minify script using uglifyJS:

app.js:2 Uncaught Error: [$injector:unpr] Unknown provider: tProvider <- t
@TheMagnificent11
Copy link

I have this issue as well.

My current workaround is to minify all my Angular scripts into the lib.min.js, then add the minified distribution of Scope.SafeApply and finally add the minified scripts of my application app.min.js.

Ideally, I'd like to minify everything into one Javascript file.

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

2 participants