angular 5 to find ng-model updated code example
Example 1: ngmodel onchange
(ngModelChange)="onModelChange()"
Example 2: ng model on change
<select [(ngModel)]="selectedItem" (ngModelChange)="onChange($event)">
(ngModelChange)="onModelChange()"
<select [(ngModel)]="selectedItem" (ngModelChange)="onChange($event)">