different change event in angular code example
Example: angular model change
<input type="checkbox" (ngModelChange)="myModel=$event" [ngModel]="mymodel">
<input type="checkbox" (ngModelChange)="myModel=$event" [ngModel]="mymodel">