How to move one page to another page in ionic 2?
<p>I am trying to navigate from one page to another using <code>ionic 2</code>. </p>

<p>I am learning from 
<a href="https://ionicframework.com/docs/v2/api/navigation/NavController/" rel="nofollow noreferrer">https://ionicframework.com/docs/v2/api/navigation/NavController/</a></p>

<pre><code>export class ApiDemoPage {
  constructor(public navCtrl: NavController){
    alert('contr');
  }
  clickMe(){
    alert('---')
  }
}


@Component({
  template: '&lt;ion-nav [root]="root"&gt;&lt;/ion-nav&gt;'
})
export class ApiDemoApp {
  root = ApiDemoPage;
}

@Component({
  template: '&lt;p&gt;hello&lt;/p&gt;'
})
export class secondPage {
}
</code></pre>

<p>Here is my code</p>

<p><a href="https://plnkr.co/edit/5eDjTOtNu46liZHiuHdG?p=preview" rel="nofollow noreferrer">https://plnkr.co/edit/5eDjTOtNu46liZHiuHdG?p=preview</a></p>

<p>Getting this error
<strong>(SystemJS) Error: Can't resolve all parameters for ApiDemoPage: (?).(…)</strong></p>