title: In Angular rxjs when should I use `pipe` vs `map`
body: <p>I'm a bit confused by the <code>pipe</code> operator vs just chaining <code>map</code>.  Are both of the examples below functionally equivalent?  What is the purpose or advantage of the pipe function?</p>
  <pre class="lang-js prettyprint-override"><code>const name = ajax
    .getJSON&lt;{ name: string }&gt;(&quot;/api/employees/alice&quot;)
    .pipe(
      retry(3, 1000),
      map(employee =&gt; employee.name),
      catchError(error =&gt; of(null))
    );
  </code></pre>
  <pre class="lang-js prettyprint-override"><code>const name = ajax
    .getJSON&lt;{ name: string }&gt;(&quot;/api/employees/alice&quot;)
    .let(retry(3, 1000))
    .map(employee =&gt; employee.name)
    .catch(error =&gt; Rx.Observable.of(null));
  </code></pre>