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