This repository was archived by the owner on Dec 4, 2017. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
public/docs/ts/latest/tutorial Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -726,8 +726,8 @@ figure.image-display
726
726
727
727
This approach requires the following changes to the component class:
728
728
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`.
731
731
1. Implement `gotoDetail()` by calling the router `navigate()` method.
732
732
733
733
+ makeExample('toh-5/ts/src/app/heroes.component.ts' , 'gotoDetail' , 'src/app/heroes.component.ts (gotoDetail)' )
@@ -837,7 +837,7 @@ figure.image-display
837
837
Look at the app now. The dashboard, heroes, and navigation links are styled.
838
838
839
839
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" )
841
841
842
842
.l-main-section
843
843
:marked
You can’t perform that action at this time.
0 commit comments