Open zambov opened 8 years ago
I don't think ngAnnotate works with classes. You have to use ngInject()
to manually inject dependencies.
Thank you for your reply! I've done it manually.
I switched from the loader to the https://github.com/jeffling/ng-annotate-webpack-plugin as it has better support for ES6 features. Import and export work as an example.
Hi all,
cannot make this work, i have all the time unkjnown provider. Here is my webpack conf:
Here is my controller:
/* @ngInject / /*
class ProvaController {
}
export default ProvaController;
But i've tried also:
Any ideas?