title: How to print value from observavle using async pipe
body: <p>I am trying to print value from my observable class using async pipe, but so far with no luck.
  I have following function, that returns observable class from my  API call:</p>
  <pre><code>private getRecordType() {
     return this.getMyData().pipe(
        tap((res: Data) =&gt; {
           return res.recordType;
        }),
     );
  }
  </code></pre>
  <p>Then I set to <code>this.recordType</code> the value that the <code>getRecordType()</code> function returns:</p>
  <pre><code>this.recordType = this.getRecordType();
  console.log(this.recordType, 'RECORD_TYPE');
  // returns Observable class
  </code></pre>
  <p>Then I try to print it in my template:</p>
  <pre><code>&lt;b&gt;{{ recordType | async }}&lt;/b&gt;
  </code></pre>
  <p>However this only returns <code>[object Object]</code> in my template.
  Any suggestions on what am I doing wrong?</p>
  <p>Thank you in advance.</p>