title: Ionic 2: loading external content inside the app
body: <p>I'm new to Ionic. My typescript file is like this:</p>
  
  <pre><code>import { Component } from '@angular/core';
  import { Http } from '@angular/http';
  
  import { NavController } from 'ionic-angular';
  
  @Component({
   selector: 'page-about',
   templateUrl: 'about.html'
  })
  export class AboutPage {
     mypage: any;
  
    constructor(public navCtrl: NavController, public http: Http) {
          this.http
    .get('http://localhost/xampp/')
    .map(response =&gt; response.text())
    .subscribe(html =&gt; this.mypage = html);
    }
  }
  </code></pre>
  
  <p>Any URL, even in the same source, leads to an error like:<br />
  <code>EXCEPTION: Response with status: 0 for URL: null</code>
  The error appear on either ionic serve in my pc or my phone. What am i supposed to do to solve?
  I thought to load it as component too "templateUrl: 'somehtml'", but in future i'd like to load some json data in my apps. Thank you.</p>