Sync Values from Inputs with Angular 2’s ngModel Two-Way Binding
Two-way binding still exists in Angular 2 and
ngModel makes it simple. The syntax is a combination of the [input] and (output) syntax to represent that the data is being pushed out and pulled in.
Please take a moment to tell your friends: