projects
/
examples
/
angular-tour-of-heroes
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aa05566
)
3: Create a Feature Component
author
Kai Moritz
<kai@juplo.de>
Sat, 2 May 2020 17:23:58 +0000
(19:23 +0200)
committer
Kai Moritz
<kai@juplo.de>
Sat, 2 May 2020 17:23:58 +0000
(19:23 +0200)
b) Show the HeroDetailComponent
src/app/heroes/heroes.component.html
patch
|
blob
|
history
diff --git
a/src/app/heroes/heroes.component.html
b/src/app/heroes/heroes.component.html
index
e0067e7
..
a2e93c2
100644
(file)
--- a/
src/app/heroes/heroes.component.html
+++ b/
src/app/heroes/heroes.component.html
@@
-4,3
+4,4
@@
<span class="badge">{{hero.id}}</span> {{hero.name}}
</li>
</ul>
+<app-hero-detail [hero]="selectedHero"></app-hero-detail>