title: how do I create a modal view in ionic 2?
body: <p>The documentation shows you how to open the modal, but isn't clear on what kind of page you're supposed to be passing to the open() method</p>
  
  <p>example from docs: </p>
  
  <pre><code>import { Component } from '@angular/core';
  import { ModalController, ViewController } from 'ionic-angular';
  
  constructor(public modalCtrl: ModalController) {
  
   }
  
   presentContactModal() {
     let contactModal = this.modalCtrl.create(ContactUs);
     contactModal.present();
   }
  </code></pre>
  
  <p>It isn't clear how where the 'ContactUs' object comes from, there is no import for it. 
  This example linked to here: <a href="https://ionicframework.com/docs/api/components/modal/ModalController/" rel="nofollow noreferrer">https://ionicframework.com/docs/api/components/modal/ModalController/</a></p>