I want to add query parameters to URL.
http://example.com/#/xyz?queryParams1=data&queryParams2=data
But don't want to navigate from one page to another. I go through angular docs but not able to get how to use it without using @angular/router . The idea behind it is just to track things via URL and not to navigate.
Any help would be appreciated.
@angular/routerpackage