how do I remove two way binding with [(ngModel)] in angular?
I want a seperate handler for setting the value, and another for changing it. So I can have side-effects
e.g.
<input [(ngModel)]="selectedEscrowOffering" [ngbTypeahead]="search" [resultFormatter]="escrowFormatter">
in Vue, models were considered syntatic sugar.
Could I seperate out the two way into a directive and onChangeHandler?
<input [value]="selectedEscrowOffering" (change)="someFunctionName($event)" [ngbTypeahead]="search" [resultFormatter]="escrowFormatter">