ionic 4 set root page code example Example: ionic 4 set root page when logout this.navCtrl.navigateRoot('/app/profile');