using ngmodel in formgroup code example
Example: use ngmodel in formgroup
<input type="password" [(ngModel)] = "password" [ngModelOptions]="{standalone: true}" />
<input type="password" [(ngModel)] = "password" [ngModelOptions]="{standalone: true}" />