How to iterate over a firebase2 list observable?
<p>I have a list observable of objects that I am trying to iterate over to compare a list object property to a local variable.</p>

<p>I can loop over the objects in the list in a template but can't see how to in the component logic.</p>

<p>How can I do this outside of the template?</p>

<p>This is the closest I have gotten to a working iterator so far.</p>

<pre><code>constructor(af: AngularFire) {
    this.competitors = af.database.list('/competitors');
}
this.competitors.forEach(competitor) {
    console.log(competitor);
}
</code></pre>

<p>I'm sorry if this is a question is poorly constructed, I am still quite new to Angular2 and Firebase.</p>