duck-booking-tool-front/app/app.component.html
Gergely Polonkai 06af47fccf Move Duck detail/editor to a separate component
Signed-off-by: Gergely Polonkai <gergely@polonkai.eu>
2016-09-09 14:41:44 +02:00

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>