MCPcopy
hub / github.com/angular-ui/ui-router / baseHref

Method baseHref

src/locationServices.ts:72–74  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

70 }
71
72 baseHref() {
73 return this._baseHref || (this._baseHref = this.$browser.baseHref() || this.$window.location.pathname);
74 }
75
76 url(newUrl?: string, replace = false, state?) {
77 if (isDefined(newUrl)) this.$location.url(newUrl);

Callers 8

$LocationProviderFunction · 0.80
$LocationProviderFunction · 0.80
BrowserFunction · 0.80
$LocationProviderFunction · 0.80
BrowserFunction · 0.80
$LocationProviderFunction · 0.80
$LocationProviderFunction · 0.80
$LocationProviderFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected