angularjs ng-model within a directive example Example: ng model output only (ngModelChange)="onModelChange()"