2015-12-11 15:37:35 -08:00
|
|
|
<!--#docregion binding -->
|
2016-07-01 08:44:28 -07:00
|
|
|
<li>{{hero.name}}</li>
|
2015-12-11 15:37:35 -08:00
|
|
|
<hero-detail [hero]="selectedHero"></hero-detail>
|
2016-07-01 08:44:28 -07:00
|
|
|
<li (click)="selectHero(hero)"></li>
|
2015-12-11 15:37:35 -08:00
|
|
|
<!--#enddocregion binding -->
|
|
|
|
|
|
|
|
<!--#docregion structural -->
|
2016-07-01 08:44:28 -07:00
|
|
|
<li *ngFor="let hero of heroes"></li>
|
2015-12-11 15:37:35 -08:00
|
|
|
<hero-detail *ngIf="selectedHero"></hero-detail>
|