on model change angular 7 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)">