Hi,

I am routing from one page to another passing a json object as a parameter 
this way.

{ path: 'msgwithparams/:id', component: MessageComponent }

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.

-- 
You received this message because you are subscribed to the Google Groups 
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to