<!-- #docregion -->
<h2>Hero List</h2>

<div *ngFor="let hero of heroes" (click)="selectHero(hero)">
  {{hero.name}}
</div>

<hero-detail *ngIf="selectedHero != null" [hero]="selectedHero"></hero-detail>
