Skip to content
This repository was archived by the owner on Apr 4, 2025. It is now read-only.

Not detecting properties/methods on controllerAs #63

Open
brettstack opened this issue Dec 10, 2014 · 1 comment
Open

Not detecting properties/methods on controllerAs #63

brettstack opened this issue Dec 10, 2014 · 1 comment

Comments

@brettstack
Copy link

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.

@btford
Copy link
Contributor

btford commented Dec 10, 2014

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

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

No branches or pull requests

2 participants