ngChange expression is only evaluated when a change in the input value causes a new value to be committed to the model.
It will not be evaluated:
$parserstransformation pipeline has not changed
Note, this directive requires
ngModel to be present.
<ng-change ng-change="expression"> ... </ng-change>
<input ng-change="expression"> ... </input>
|ngChange|| || |
Expression to evaluate upon change in input value.
© 2010–2017 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.