2017-02-22 18:13:21 +00:00
|
|
|
<!--#docregion binding -->
|
|
|
|
|
<li>{{hero.name}}</li>
|
2017-08-22 21:31:15 +02:00
|
|
|
<app-hero-detail [hero]="selectedHero"></app-hero-detail>
|
2017-02-22 18:13:21 +00:00
|
|
|
<li (click)="selectHero(hero)"></li>
|
|
|
|
|
<!--#enddocregion binding -->
|
|
|
|
|
|
|
|
|
|
<!--#docregion structural -->
|
|
|
|
|
<li *ngFor="let hero of heroes"></li>
|
2017-08-22 21:31:15 +02:00
|
|
|
<app-hero-detail *ngIf="selectedHero"></app-hero-detail>
|