Skip to content
This repository was archived by the owner on Dec 4, 2017. It is now read-only.

Commit 0cf9832

Browse files
kapunahelewongwardbell
authored andcommitted
docs(toh-pt5): fix capitalization of Router & update screenshot (#3526)
1 parent 4d44cde commit 0cf9832

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

public/docs/ts/latest/tutorial/toh-pt5.jade

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -726,8 +726,8 @@ figure.image-display
726726

727727
This approach requires the following changes to the component class:
728728

729-
1. Import the `router` from the Angular router library.
730-
1. Inject the `router` in the constructor, along with the `HeroService`.
729+
1. Import the `Router` from the Angular router library.
730+
1. Inject the `Router` in the constructor, along with the `HeroService`.
731731
1. Implement `gotoDetail()` by calling the router `navigate()` method.
732732

733733
+makeExample('toh-5/ts/src/app/heroes.component.ts', 'gotoDetail', 'src/app/heroes.component.ts (gotoDetail)')
@@ -837,7 +837,7 @@ figure.image-display
837837
Look at the app now. The dashboard, heroes, and navigation links are styled.
838838

839839
figure.image-display
840-
img(src='/resources/images/devguide/toh/dashboard-top-heroes.png' alt="View navigations")
840+
img(src='/resources/images/devguide/toh/heroes-dashboard-1.png' alt="View navigations")
841841

842842
.l-main-section
843843
:marked

0 commit comments

Comments
 (0)