`doLogin() {
this.userService.userLogin(this.email, this.password)
.subscribe(
data => {
this.user = data; // how to send this data to Params service ??
console.log('Account Login with Success', this.user);
this.nav.setRoot(UserPage, this.user);
},
error => this.errorMessage = <any>error);
} // end of doLogin()`
I was able to successfully implement this using the rootParams attribute that they just added in February (specifically for this case, from what I can tell). Check out a more detailed answer here: http://stackoverflow.com/a/36318249/352246.