Let's say that we have a structure like this:
project:[
1:{
title: 'test'
description: 'hello'
category_id: 2
}
]
category:[
1: {
name: 'motorcycles'
},
2: {
name: 'cars'
}
]
How can I load category name when I fetch the project from the firebase database?
To fetch projects I do something like this: db.list('/project'); where db is of type AngularFireDatabase.
Angular4, angularfire2