angular-hint
angular-hint copied to clipboard
Not detecting properties/methods on controllerAs
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.
Yep, this is a problem. Will work on it today.