title: AngularFire2 iterate through array of objects
body: <p>I have the following Firebase database structure:</p>
  
  <pre><code>orders {
    $uid { // user UID
      order {
      // ...
      }
    }
  }
  </code></pre>
  
  <p>And I'm trying to get all orders, this way:</p>
  
  <pre><code>public getOrders() {
    this.db.list('/orders).subscribe(items =&gt; {
      items.forEach(item =&gt; {
        console.log(item);
      })
    })
  }
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/T4QXo.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/T4QXo.png" alt="items"></a></p>
  
  <p>My question is, how I can get all orders ?
  Because now, I can't iterate through <code>item</code>.</p>