title: Loading external URL inside Ionic v2 controller
body: <p>I want to render a remote web page inside my Ionic2 controller without using the inAppBrowser.</p>
  
  <p>Researching online I found two methods:</p>
  
  <h2>FIRST METHOD</h2>
  
  <p><strong>panorama.html</strong></p>
  
  <pre><code>&lt;ion-header&gt;
    &lt;ion-navbar&gt;
      &lt;button ion-button menuToggle&gt;
        &lt;ion-icon name="menu"&gt;&lt;/ion-icon&gt;
      &lt;/button&gt;
        &lt;ion-title&gt;Panorama&lt;/ion-title&gt;
    &lt;/ion-navbar&gt;
  &lt;/ion-header&gt;
  &lt;ion-content overflow-scroll="true"&gt;
    &lt;div&gt;
        &lt;div [innerHTML]="myVal"&gt;&lt;/div&gt;
  
    &lt;/div&gt;
  
  &lt;/ion-content&gt;
  </code></pre>
  
  <p><strong>panorama.ts</strong></p>
  
  <pre><code>import { Component } from '@angular/core';
  import { NavController,NavParams,Platform } from 'ionic-angular';
  import {AlertController} from 'ionic-angular';
  import { InAppBrowser } from 'ionic-native';
  import {SafeResourceUrl, DomSanitizer} from '@angular/platform-browser';
  import { Http, Headers, RequestOptions } from '@angular/http';
  
  import 'rxjs/add/operator/map';
  
  import { HttpModule } from '@angular/http';
  
  
  
  @Component({
    selector: 'page-panorama',
    templateUrl: 'panorama.html'
  })
  
  export class PanoramaPage {
  
    myVal: any;
  
    constructor(public platform: Platform, public navCtrl: NavController, public navParams: NavParams, private alertCtrl: AlertController,public sanitizer: DomSanitizer,public http: Http) {
  
          this.myVal = this.http.get('http://www.facebook.com').map(response =&gt; response.text()).subscribe(html =&gt; this.myVal = html);
  
        }
  }
  </code></pre>
  
  <p>it doesn't work...shows just <code>[object][object]</code></p>
  
  <h2>SECOND METHOD</h2>
  
  <p>using an iframe in the template:</p>
  
  <pre><code>&lt;iframe ng-src="http://www.facebook.com"&gt;&lt;/iframe&gt;
  </code></pre>
  
  <p>and in the <strong>config.xml</strong></p>
  
  <pre><code>&lt;allow-navigation href="*" /&gt;
  </code></pre>
  
  <p>but the iframe is always blank.</p>
  
  <p>Getting crazy...</p>