Skip to content
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
@LoganDupont

Description

@LoganDupont

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions