assaign variable as ng-model in ng-model code example Example: ng model output only (ngModelChange)="onModelChange()"