Cromo
0
Q:

ngmodel

<input type="text" [{ngModel}] = "username">

<h1> Your user name is {{username}} </h1>
1
<input [(ngModel)]="username">

<p>Hello {{username}}!</p>
2
(ngModelChange)="onModelChange()"
2

New to Communities?

Join the community