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