* 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:/
()
| 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, |
no outgoing calls