angularjs ng-model set value code example Example: ng model output only (ngModelChange)="onModelChange()"