I would like to execute a function any time that values in a form (or accompanying model) are changed in AngularJS 1.6. I've tried a few things, including $scope.$watch
, but it seems this method isn't available in 1.6.
Other than putting an ng-change
attribute on each form element, what can I do? Tried putting this on the form too, but AngularJS complains that there is no ng-model
.