To get Current route import Router from @angular/router as following :
import { Router } from ‘@angular/router’;
Then Inject in component as
constructor(private router : Router)
{
}
After this you can call Url Parameter by using below statement.
console.log(this.router.url)
Thanks.