Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

module.run not being annotated #78

Closed
scottnewman opened this issue Feb 27, 2014 · 3 comments
Closed

module.run not being annotated #78

scottnewman opened this issue Feb 27, 2014 · 3 comments

Comments

@scottnewman
Copy link

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
Copy link

scamden commented Mar 7, 2014

+1 i'm also seeing this issue

@abulte
Copy link

abulte commented Apr 16, 2014

+1

@eddiemonge
Copy link
Collaborator

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants