Hoping someone can point me into the right direction.
I'd like to be able to map item details to the items list observable so that it can be access by item.details as shown in the third section below.
It's not important that the 'itemDetails' are observable, as they're unlikely to change.
{
"items": {
"1111": {
"count": 5
},
"2222": {
"count": 4
}
},
"itemDetails": {
"1111": {
"title": "a title"
},
"2222": {
"title": "another title"
}
}
}
items: FirebaseListObservable<any>;
ngOnInit() {
this.items = this.db.list("items");
}
<some-elem *ngFor="let item of items | async">
{{item.details | json}}
</some-elem>