onSubmit(){
this.router.navigate(
["/search"], {queryParams: params}
);
}
The above code runs as expected. My web application will navigate to
http://url/search?param1=abc. However, if I click any link afterward,
<a [routerLink]="['/foo']">Foo</a>
The link would becomes http://url/foo?param1=abc. How can I get rid of the
query parameters? Is it a bug in the current [email protected]? Or do I
have a bug in my web application?
--
You received this message because you are subscribed to the Google Groups
"AngularJS" 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.