In last page:
this.navCtrl.getPrevious().data.newGame = true;
this.navCtrl.pop();
In 2nd page:
public ionViewWillEnter() {
this.newGame = this.navParams.get('newGame')|| null;
}
In last page:
this.navCtrl.getPrevious().data.newGame = true;
this.navCtrl.pop();
In 2nd page:
public ionViewWillEnter() {
this.newGame = this.navParams.get('newGame')|| null;
}