Q:

Angular 4 - Send Data via URL

I'm trying to send information via URL. The Problem is when i send that data to a component it sends it like 'options/youremailhere@email.com%20' using this.
So the big question is: How i send it without the "%20"?  Or how can send that information properly
Also this is how i send it:
 this.router.navigate(['/options', this.email]);

And in my routes:
{path: 'options/:email', component: OptionsComponent},

A:

You need to remove extra spaces in your this.email variable:
this.router.navigate(['/options', this.email.trim()]);

