ionic modalcontroller code example
Example: ionic modal controller
constructor(public modalCtrl: ModalController) {}
...
presentProfileModal() {
let profileModal = this.modalCtrl.create(Profile, { userId: 8675309 });
profileModal.present();
}