closes #483 A major refactoring of the intro chapters includes text revision and the addition of "module" as an 8th "basic building block". Incorporates John Papa feedback.
10 lines
233 B
HTML
10 lines
233 B
HTML
<!-- #docregion -->
|
|
<h2>Hero List</h2>
|
|
|
|
<p><i>Pick a hero from the list</i></p>
|
|
<div *ngFor="#hero of heroes" (click)="selectHero(hero)">
|
|
{{hero.name}}
|
|
</div>
|
|
|
|
<hero-detail *ngIf="selectedHero" [hero]="selectedHero"></hero-detail>
|