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