title: RxJs get value from observable
body: <p>In component :</p>
  
  <pre><code>singleEvent$: Observable&lt;Event&gt;;
  </code></pre>
  
  <p>On init, I get observable</p>
  
  <pre><code>this.singleEvent$ = this._eventService.events$
    .map(function (events) {
      let eventObject = events.find(item =&gt; item.id === eventid);
      let eventClass: Event = new Event(eventObject);
      return eventClass;
    });
  </code></pre>
  
  <p>How can I take current value like <code>event.name</code> ?</p>