{} from the Location Import '@ Angular / Common' Import Router} from { '@ Angular / Router' constructor (Private LOCATION: the Location, Private Router: Router) { router.events.pipe (filter ((Event) => Event the instanceof NavigationEnd)). subscrible (Event => { event.url current routing information (not including the automatic jump) event.urlAfterRedirects current routing details (temporary automatic skip) }) }