I've been making an Angular2 app with Angularfire2. I'm stuck in a problem about FirebaseListObservable when retrieving data from Firebase. Here is my code.
this.requests = this._af.database.list('/requests');
Soon after this, I logged this variable.
console.log(this.requests);
Then I got an undefined one, but I wanted to wait this request's response because this.requests was always undefined in this code. I'd like you to teach me how to wait the result of firebase requests. Sorry about my poor English.