Get current route without parameters March 25, 2023 by Tarik To get current route without query parameters, you can use below mentioned single line: this.router.url.split('?')[0]