angular-hint icon indicating copy to clipboard operation
angular-hint copied to clipboard

Not detecting properties/methods on controllerAs

Open brettstack opened this issue 11 years ago • 1 comments

I get this error, a lot:

Variable "myCtrl.myMethod" called on BUTTON element does not exist in that scope. Event directive found on ""

I'm guessing it's because I add all my properties/methods to controllerAs instead of adding them to $scope.

brettstack avatar Dec 10 '14 19:12 brettstack

Yep, this is a problem. Will work on it today.

btford avatar Dec 10 '14 19:12 btford