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
6: Get Data from a Server
[examples/angular-tour-of-heroes]
/
src
/
app
/
dashboard
/
dashboard.component.html
diff --git
a/src/app/dashboard/dashboard.component.html
b/src/app/dashboard/dashboard.component.html
index
ddb4fd2
..
1fc389b
100644
(file)
--- a/
src/app/dashboard/dashboard.component.html
+++ b/
src/app/dashboard/dashboard.component.html
@@
-1,6
+1,6
@@
<h3>Top Heroes</h3>
<div class="grid grid-pad">
<h3>Top Heroes</h3>
<div class="grid grid-pad">
- <a *ngFor="let hero of heroes" class="col-1-4">
+ <a *ngFor="let hero of heroes" class="col-1-4"
routerLink="/detail/{{hero.id}}"
>
<div class="module hero">
<h4>{{hero.name}}</h4>
</div>
<div class="module hero">
<h4>{{hero.name}}</h4>
</div>