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

Support services as function references #84

Closed
roryf opened this issue Mar 13, 2014 · 1 comment
Closed

Support services as function references #84

roryf opened this issue Mar 13, 2014 · 1 comment

Comments

@roryf
Copy link

roryf commented Mar 13, 2014

Like a lot of the angular core, I tend to write controllers something like this:

function MyController($scope) { /* ... */ }

angular.module('MyApp').controller('MyController', MyController);

I didn't really understand the AST code very well, so don't know if this is possible.

@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

2 participants