ngOnChanges simpleChanges ngModel change code example Example: ngmodel onchange (ngModelChange)="onModelChange()"