title: Observable fromArray
body: <p>I currently have a problem with Angular2 and Observable object.</p>
  
  <p>I have a Component who calls a Service : a real one linked to an api and a fake one.</p>
  
  <p>The service linked to the API works well but when I use the fake one, I want to return an Array from Observable object but I have this error :"Observable_1.Observable.fromArray is not a function"</p>
  
  <p>Here is my code :</p>
  
  <p>Component :</p>
  
  <pre><code>this._raceService.list().subscribe(newRaces =&gt; { 
  
    this.races = newRaces;
  }); 
  </code></pre>
  
  <p>Real Service :    </p>
  
  <pre><code>list(){ return this._http.get('http://dev.backend.com/api.php', options).map(res =&gt; res.json()); }
  </code></pre>
  
  <p>Fake service :</p>
  
  <pre><code>list() { return Observable.fromArray([{ name: 'London' }]); }
  </code></pre>
  
  <p>Can you help me plz ?</p>
  
  <p>Cheers</p>