projects
/
examples
/
angular-tour-of-heroes
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
5: Add In-app Navigation
[examples/angular-tour-of-heroes]
/
src
/
app
/
app.component.html
diff --git
a/src/app/app.component.html
b/src/app/app.component.html
index
aeb56ff
..
0a2742a
100644
(file)
--- a/
src/app/app.component.html
+++ b/
src/app/app.component.html
@@
-1,6
+1,8
@@
<h1>{{title}}</h1>
<nav>
+ <a routerLink="/dashboard">Dashboard</a>
<a routerLink="/heroes">Heroes</a>
</nav>
<router-outlet></router-outlet>
<app-messages></app-messages>
+