PatrickJS / NG6-starter

:ng: An AngularJS Starter repo for AngularJS + ES6 + Webpack
https://angularclass.github.io/NG6-starter
Apache License 2.0
1.91k stars 1.35k forks source link

Encountered Error: [$injector:unpr] Unknown provider: tProvider <- t on built asset #138

Closed ghost closed 8 years ago

ghost commented 8 years ago

Hey guys,

I am experiencing the following error on minified assets for JSPM version (app.min.js)?

Error: [$injector:unpr] Unknown provider: tProvider <- t

I do not encounter the same problem on app.js though.

fesor commented 8 years ago

you should annotate your injectables (by hand or using ngAnnotate)

ghost commented 8 years ago

Thanks that solved it