I get this error, a lot: Variable "myCtrl.myMethod" called on BUTTON element does not exist in that scope. Event directive found on "<element>" I'm guessing it's because I add all my properties/methods to controllerAs instead of adding them to $scope.
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.