module.run not being annotated
scottnewman opened this issue · 3 comments
scottnewman commented
The run() fails to get annotated. If I omit the service definition it will annotate run fine. And if myFunction was inline instead of global it would also annotate run fine.
function myFunction() {}
angular.module('some-module')
.service("StartingPage", myFunction)
.run(function($rootScope) {
});
scamden commented
+1 i'm also seeing this issue
abulte commented
+1
eddiemonge commented
Please try https://github.com/olov/ng-annotate. ngmin is now deprecated: #93
If your issue isn't resolved there please open an issue at https://github.com/olov/ng-annotate/issues
If you really want ngmin to fix this issue, feel free to fork it and use that.