This repository was archived by the owner on Dec 4, 2017. It is now read-only.
This repository was archived by the owner on Dec 4, 2017. It is now read-only.
docs(ts/tutorial/routing): Remove HeroDetailComponent in HeroesComponent file #1398
Closed
Description
After you remove <my-hero-detail [hero]="selectedHero"></my-hero-detail>
from the templateurl: 'app/heroes.component.html'
and use instead a router navigation to HeroDetail. I think you don't need the import { HeroDetailComponent }
and directives: [HeroDetailComponent]
anymore in the HeroesComponent file.
Metadata
Metadata
Assignees
Labels
No labels