Move to the in-memory web API

This also makes it possible to save data.

Signed-off-by: Gergely Polonkai <gergely@polonkai.eu>
This commit is contained in:
2016-09-06 15:54:03 +02:00
parent 29a0eb7f33
commit 7c36ce1282
6 changed files with 52 additions and 9 deletions

View File

@@ -7,5 +7,6 @@
<label>color: </label>
<input [(ngModel)]="duck.color" placeholder="Color" />
</div>
<button (click)="save()">Save</button>
<button (click)="goBack()">Back</button>
</div>