angularjs directive + append new imput to element and bind same ng-model code example Example: ng model output only (ngModelChange)="onModelChange()"