Getting Data out of Firebase Object with Angular2, angularfire2 and Typescript
<p>Im currently working on a Project with Angular 2 and angularFire2.
My database looks like this in Firebase:
base:/data</p>

<pre><code>[{Name:test1},
{Name:test2},
{Name:test3}]
</code></pre>

<p>All of the items also have the Firebase key.</p>

<p>Now im trying to get data out of the Firebase with the Observabels from RX.
When i do this, i get the names in the Console:</p>

<pre><code>let items= af.database.list('/data').map(i=&gt;{return i});
items.forEach(i=&gt;i.forEach(e=&gt;(console.log(e.name))));
</code></pre>

<p>Output: test1,test2,test3. Everything Works.</p>

<p>But when i do this:</p>

<pre><code>console.log(items.first());
</code></pre>

<p>I get a FirebaseListObservable back.</p>

<p>How can i get only the First Object from the FirebaseListObservable? 
How can i edit Items in the list? like:  </p>

<pre><code>items[0].name=test3
</code></pre>

<p>And How can i get the Firebase Key from an Item</p>

<p>how can i get The firebaseKey from an Item in the list?</p>