This project was generated with [Angular CLI] and Nx.
Format your object with JSON.parse(JSON.stringify(user))
or Object.assign(user)
, refer to auth.service.ts.
ng new project-name --routing --style scss --prefix pb
ng generate module shared --module app
ng serve --configuration=qa
ng update @angular/core @angular/cli
ng update @angular/material
ng test --no-watch --code-coverage
Wrap formControlName
with [] in template like below:
<p *ngFor="let power of powers.controls; let i=index">
<label>Power:</label><input type="text" [formControlName]="i">
<mat-icon class="icon" (click)="removePowerAt(i)">close</mat-icon>
</p>