see documentation here… under advanced http://ionicframework.com/docs/v2/api/components/modal/ModalController/
dismiss() {
let data = { 'foo': 'bar' };
this.viewCtrl.dismiss(data);
}
you basically have a dismiss
method in the Modal component to pass the data back to the parent component
profileModal.onDidDismiss(data => {
console.log(data);
});
in the parent component you have capture the onDidDismiss
response to get the data