You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Uncaught Error: [$injector:modulerr] Failed to instantiate module app due to:
Error: [$injector:modulerr] Failed to instantiate module app.components due to:
Error: [$injector:modulerr] Failed to instantiate module home due to:
Error: [$injector:unpr] Unknown provider: e
Because you need to provide dependency annotations:
javascript
export default class FooService {
constructor(depA, depB) {}
}
FooService.$inject = ['depA', 'depB'];
Of you could use ngAnnotate: https://www.npmjs.com/package/ng-annotate-webpack-plugin
Also please read notes about using [ngAnnotate with ES2015](https://github.com/olov/ng-annotate#es6-and-typescript-support) and use `ng-strict-di` directive for release builds.
Here my webpack.config.js
Here the error:
Here my home module:
The text was updated successfully, but these errors were encountered: