Use tabs with the routing.
<nav mat-tab-nav-bar>
<a mat-tab-link
*ngFor="let link of links"
[routerLink]="link.path"
routerLinkActive #rla="routerLinkActive"
[active]="link.isActive">
{{link.label}}
</a>
</nav>
<router-outlet></router-outlet>
After the user has worked in Taba 1 (filled form) and switched to any other and then returned the statement Taba - namely, the component pogruzhennogo the routing is lost.
How it is solved in angular except the save statement in the service or in storage? He MatTab has a solution?
My problem zakljuchaetsja Tom - what do Label tabs should be in the same componenet. And body tabs in the other. But as you can see from the docks - the material does not allow to separate the tabs and content tabs.