I'm trying to get some data from an Object that has been retrieved from Firebase using AngularJS.
The object looks like this ("feed_items" in code):

And the first 10 Objects look like:

So I'm trying to do a loop as follows:
function getUniqueFilters(feed_items) {
angular.forEach(feed_items, function(value, key){
console.log(value);
});
}
The output of that console.log(value) is:

I don't understand why I'm not getting any of the first 10 Objects, which are the ones I'm needing the data from. How do I get those?
Thanks in advance!
value()to see if the functions are returning the value you're looking for.function(key, value)rather than(value, key), as that is more consistent with the data structure. Having said that, have you output the content ofkeyto see what that is returning? How about just passing(i){console.log(i)as the callback for forEach and see what that gives you. I often find these small changes will give you hints to what is happening.