add two ng models angularjs code example Example: ng model output only (ngModelChange)="onModelChange()"