on model change angularjs code example
Example 1: angular model change
<input type="checkbox" (ngModelChange)="myModel=$event" [ngModel]="mymodel">
Example 2: ng model on change
<select [(ngModel)]="selectedItem" (ngModelChange)="onChange($event)">