MCPcopy
hub / github.com/angular/angular / absUrl

Method absUrl

packages/common/upgrade/src/location_shim.ts:503–505  ·  view source on GitHub ↗

* Retrieves the full URL representation with all segments encoded according to * rules specified in * [RFC 3986](https://tools.ietf.org/html/rfc3986). * * * ```js * // given URL http://example.com/#/some/path?foo=bar&baz=xoxo * let absUrl = $location.absUrl(); * // => "http:/

()

Source from the content-addressed store, hash-verified

501 * ```
502 */
503 absUrl(): string {
504 return this.$$absUrl;
505 }
506
507 /**
508 * Retrieves the current URL, or sets a new URL. When setting a URL,

Callers 3

initializeMethod · 0.95
upgrade.spec.tsFile · 0.80
parseLinkAndReturnFunction · 0.80

Calls

no outgoing calls

Tested by 1

parseLinkAndReturnFunction · 0.64