Move to using routers

Signed-off-by: Gergely Polonkai <gergely@polonkai.eu>
This commit is contained in:
2016-09-06 15:35:20 +02:00
parent 8c0ecca40f
commit 29a0eb7f33
11 changed files with 118 additions and 45 deletions

View File

@@ -1,10 +1,11 @@
<div *ngIf="duck">
<div>
<label>id:</label>
<label>id: </label>
{{ duck.id }}
</div>
<div>
<label>color:</label>
<input [(ngModel)]="duck.color" placeholder="Color">
<label>color: </label>
<input [(ngModel)]="duck.color" placeholder="Color" />
</div>
<button (click)="goBack()">Back</button>
</div>