-
Notifications
You must be signed in to change notification settings - Fork 90
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 controller without $scope function parameter. #71
Comments
Hi. //Controller for Entry Controller app.controller('EntryCtrl', function ($scope, $http, $location, Data, Config) { ... }); So perhaps there is a more fundamental bug here..... :) |
Please share your project which causes your problem.Thank's |
Unfortunately, I'm not able to do that right now for my specific project, but it should be easy to re-create. |
Just figured out something interesting. In order for the Controller to be recognised, I was able to right-click on the appropriate controller name in the Angular Explorer and select the 'Link to Controller' option. It looks like this links the open HTML file to the controller and resolves the issue! 👍 |
Ok cool. |
Hi, I just wanted to know if this problem is still present on 0.5.0 version, because at my workplace good practices dictate we use controllerAs notation, and controllers won't be recognized on the Angular Explorer view if $scope is not specified as a parameter. Thanks a lot for your efforts! |
I would like to finish my work about JSP support for AngularJS and after I will try to fix this issue. |
This is great angelo, thanks a lot! It woks like a charm! On Tue, Aug 26, 2014 at 1:34 PM, Angelo notifications@github.com wrote:
|
Cool! Thank's for having tested this new feature. |
If we write controller with $cope function parameter :
StoreController is available inside HTML completion ng-controller.
But If we write controller without $cope function parameter :
StoreController is not available inside HTML completion ng-controller.
The text was updated successfully, but these errors were encountered: