Hello,
ngInject does not work when exporting a class, it worked with ng-annotate.
/* @ngInject */
class A {
constructor(test){
this.test = test;
}
}
This works.
/* @ngInject */
export class A {
constructor(test){
this.test = test;
}
}
This doesn't.
/* @ngInject */
class A {
constructor(test){
this.test = test;
}
}
export {A};
This does.
Hello,
ngInject does not work when exporting a class, it worked with ng-annotate.
This works.
This doesn't.
This does.