ngUpgraders / ng-forward

The default solution for those that want to write Angular 2.x style code in Angular 1.x
411 stars 36 forks source link

Make two-way binding match Angular 2 #32

Open timkindberg opened 8 years ago

timkindberg commented 8 years ago

In Angular 2, [(ng-model)]="prop" desugars to [ng-model]="prop" (ng-model-change)="prop=$event".

Alter our current two way binding to behave more similarly to this.

gkalpak commented 8 years ago

BTW, I think it's prop-change (not changed) :smiley:

timkindberg commented 8 years ago

@gkalpak thanks!