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