Search Posts

Category: angularfire2

Match Fetched Data from 2 different References

My Json Object: “order” : [ $key1 { “state”: ‘active’, “name”: ‘Order#55’ }, $key2 { “state”: ‘active’, “name”: ‘Order#56′ } ] “products”: [ $key1{[ $productkey1{name:’Item’ desc: ‘description’ }, $productkey2{name:’Item’ desc: ‘description’ } }], “key2″[] ……. ]} My Html View I want to have an Html file like this picture. So: FirebaseListObservable<Order[]> FirebaseListObservable<Product[]> Each card will have the order and inside a list from the order’s products. My wrong code that fetches the data! Ref$: FirebaseListObservable<any[]>; […]