2018-06-19 12:56:58 -05:00
|
|
|
<h1>Reactive Forms</h1>
|
|
|
|
|
|
|
|
<nav>
|
|
|
|
<a (click)="toggleEditor('name')">Name Editor</a>
|
|
|
|
<a (click)="toggleEditor('profile')">Profile Editor</a>
|
|
|
|
</nav>
|
|
|
|
|
|
|
|
<app-name-editor *ngIf="showNameEditor"></app-name-editor>
|
|
|
|
|
|
|
|
<app-profile-editor *ngIf="showProfileEditor"></app-profile-editor>
|