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