title: Creating an Observable for Mock Data in Angular 2
body: <p>I am trying to return an Observable from a service with mock data.</p>
  
  <p>I am returning this from my service :</p>
  
  <pre><code>return Observable.of(new Object()).map(MOCKACCOUNT =&gt;JSON.stringify(MOCKACCOUNT));
  </code></pre>
  
  <p>I get an error </p>
  
  <blockquote>
    <p>Observable_1.Observable.of is not a function.  </p>
  </blockquote>
  
  <p>Am I missing some include?  I am importing </p>
  
  <pre><code>import {Observable} from "rxjs/Observable";
  </code></pre>
  
  <p>Note:  I was returning a mock promise prior but based on my understanding I would not be able to interpolate the value.  For example <code>{{returnFromServiceStoredInExportedClass.name}}</code></p>