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