format ngmodel display code example
Example 1: what is ngmodel property binding
<input [(ngModel)]="username">
<p>Hello {{username}}!</p>
Example 2: angular model output only
(ngModelChange)="onModelChange()"
<input [(ngModel)]="username">
<p>Hello {{username}}!</p>
(ngModelChange)="onModelChange()"