Location
Location
Stable Class
What it does
Location
is a service that applications can use to interact with a browser's URL.
Class Overview
class Location { static normalizeQueryParams(params: string) : string static joinWithSlash(start: string, end: string) : string static stripTrailingSlash(url: string) : string constructor(platformStrategy: LocationStrategy) path(includeHash?: boolean) : string isCurrentPathEqualTo(path: string, query?: string) : boolean normalize(url: string) : string prepareExternalUrl(url: string) : string go(path: string, query?: string) : void replaceState(path: string, que