Using first() operator on an observable to get the first element
<p>I am kind of new to RxJS, In this <a href="http://plnkr.co/edit/8EidlVWEU3EegJDvwsvl?p=preview" rel="noreferrer">plunk</a>
I am trying to return the first member in the array, I have tried the <code>first()</code> operator but it returns nothing:</p>

<pre><code>var one = this.http.get(this.memberUrl)
  .map( this.extractData )
  .map(processArray =&gt; {
  return processArray.filter(x=&gt; x.type === "member")
  //.first()
  })
</code></pre>

<p>Whats wrong with the commented line in <code>app/member.service.ts</code>?</p>