this.user.username = 'dhinakar';
this.user.password = 'reddy';
this.router.navigate(['/msgwithparams', JSON.stringify(this.user)]);
so in url I am getting the entire parameter but I want to hide them from showing. I am new to Angular2 dev. Any help is appreciated.
Thanks in advance.