I have some simple entries in Firebase like:
All I want is, to get these values (each percentage) and pass them into an array called labels. so that I can use that array in my code. That is my question.
Now, to me, it seemed easy but apparently it is not.
First of all what I faced is @angularfire version 5 differences in the examples(but easy to understand in their GitHub docs). so secondly, I try to get data with:
this.items = db.list('/percentage').valueChanges();
so I do it and check it on the console.

then I check out other questions on SO and thirdly, in examples, I am told 'its asynchronous data so you should subscribe to it' I do subscribe and again log it in the console to see how my array would look like.
and of course, after that I check out more examples and oh, turns out I should map() it. then I do it with
this.labels = db.list('/percentage').valueChanges().map(res => this.labels = res);
I don't get any errors but I can't figure out a way to get this data as an array which would work for me. I would be really glad if someone explain a way to me. Thank you

