I navigate to a certain page in my app with a query parameter. After I get the parameter from the URL I want to delete it, ideally I would have this:
this.router.navigate([], { queryParams: { paramName: null, paramName2: null, }, queryParamsHandling: 'merge' })