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 'as' for controller inside ng-controller #70

Closed
angelozerr opened this issue Jun 18, 2014 · 4 comments
Closed

Support 'as' for controller inside ng-controller #70

angelozerr opened this issue Jun 18, 2014 · 4 comments
Milestone

Comments

@angelozerr
Copy link
Owner

According https://docs.angularjs.org/api/ng/directive/ngController, you can specify 'as' inside ng-controller :

<div ng-controller="SettingsController1 as settings">

Name:

Today AngularJS Eclipse support only simple name for controller.

@arkadiuszsz
Copy link

Will controllerAs syntax get implemented?
Its really useful for scoping.

@angelozerr
Copy link
Owner Author

I will try to implement 'as' syntax in 0.4.0 (0.3.0 will be released soon).

@angelozerr angelozerr added this to the 0.4.0 milestone Jun 26, 2014
angelozerr added a commit to angelozerr/tern.java that referenced this issue Jul 1, 2014
@angelozerr
Copy link
Owner Author

angelozerr added a commit to angelozerr/tern.java that referenced this issue Jul 1, 2014
@arkadiuszsz
Copy link

Greate job ! Thank You.

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