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