Using Angular 1.6
I´m trying to call some function like $scope.myFunction
after change inputs
My code look like this
<md-input-container class="col-sm-12 md-block no-left-padding">
<label>Name</label>
<input name="name" ng-model="name" onfocusout="myFunction()">
</md-input-container>
I´m getting this error when I unfocus the input
Uncaught ReferenceError: myFunction is not defined
at HTMLInputElement.onfocusout