ng model directive is used for code example Example: ng model output only (ngModelChange)="onModelChange()"