ngmodel input text change code example
Example 1: ngmodel onchange
(ngModelChange)="onModelChange()"
Example 2: ng model on change
<select [(ngModel)]="selectedItem" #item (change)="onChange(item.value)">
(ngModelChange)="onModelChange()"
<select [(ngModel)]="selectedItem" #item (change)="onChange(item.value)">