Hello there
I’m using https://github.com/ghidoz/angular2-jsonapi to get data from my REST.
if its simply a findRecord or so, its quite simple,
but i stuck on getting the includes which are needed for data deeper down…
so behind …/rest/approvals/1039532/positions there is the JSON i need to get.
I thought i would should use something like this:
this.datastore.findRecord(Approval, usedID, {include: Position}
)
.subscribe((views: Approval) =>
console.log(views));
}
with then:
<ion-list *ngFor="let things of views">
<ion-item>{{things.position}}</ion-item>
</ion-list>
but well, i got nothing out of it…