title: Can't resolve all parameters for ModalPage: ([object Object], [object Object], ?, [object Object])
body: <p>I am working on Ionic 3.9.2 and facing this error when I trigger a Modal template:</p>
  
  <pre><code>Uncaught Error: Can't resolve all parameters for ModalPage: ([object Object], [object Object], ?, [object Object]).
  </code></pre>
  
  <p>This class has a function <code>openModal</code> which breaks to above mentioned error:</p>
  
  <pre><code>import { Component, NgZone } from "@angular/core"
  import { NavController, Platform, ModalController } from 'ionic-angular';
  import { HTTP } from '@ionic-native/http';
  import { ModalPage } from './../modal/modal';
  
  @Component({
    selector: 'page-home',
    templateUrl: 'home.html'
  })
  export class Component{
    todoItems: object[];
    constructor(
      public navCtrl: NavController,
      public platform: Platform
      public modalCtrl: ModalController
    ) {}
  
  openModal() {
      //This line throws the error
      let modal = this.modalCtrl.create(ModalPage);
    }
  </code></pre>
  
  <p>}</p>
  
  <p>Which angular dependency I am exactly missing?</p>