<h2>My Heroes</h2>
<!-- #docregion list -->
<ul class="heroes">
  <li *ngFor="let hero of heroes">
    <button type="button" (click)="onSelect(hero)" [class.selected]="hero === selectedHero">
      <span class="badge">{{hero.id}}</span>
      <span class="name">{{hero.name}}</span>
    </button>
  </li>
</ul>
<!-- #enddocregion list -->

<app-hero-detail [hero]="selectedHero"></app-hero-detail>
