9 lines
174 B
HTML
9 lines
174 B
HTML
<h1>Hello!</h1>
|
|
<duck-detail [duck]="selectedDuck"></duck-detail>
|
|
|
|
<ul>
|
|
<li *ngFor="let duck of ducks" (click)="onSelect(duck)">
|
|
{{ duck.color }}
|
|
</li>
|
|
</ul>
|