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

More extensive reference-following #183

Closed
jerguslejko opened this issue Jul 15, 2015 · 2 comments
Closed

More extensive reference-following #183

jerguslejko opened this issue Jul 15, 2015 · 2 comments

Comments

@jerguslejko
Copy link

According to the docs, any other definitions than stated will be ignored. Would it be possible to support this one?

var TestController;

TestController = function( $scope )
{
};

angular
    .module('app')
    .controller( 'TestController', TestController );

This is standard output when using CoffeeScript, and the fact that the definition is not on a same line as declaration makes ng-annotate ignore that controller.

thanks

@jerguslejko jerguslejko changed the title Reference-following with Reference-following Jul 15, 2015
@olov
Copy link
Owner

olov commented Jul 17, 2015

I would accept a PR for that with the condition that TestController must only be assigned once.

@olov olov changed the title Reference-following More extensive reference-following Dec 19, 2015
@olov
Copy link
Owner

olov commented Jun 8, 2016

#245

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

No branches or pull requests

2 participants