I woul like get the values another objects in Firebase using Ionic 3 I have my service
getUsers(path: string) {
return this.db.list(this.PATH + path)
.snapshotChanges()
.map(changes => {
return changes.map(c => ( {key: c.key , ...c.payload.val() } ));
})
}
now in my component how to get another objects with my method
getLawyers() {
this.service.getUsers('lawyers')
.subscribe(
result => this.lawyers = result
/// get objects states and specialties ???
)
}