Address:
$location.protocol() =
http
$location.host() =
www.example.com
$location.port() =
80
$location.path() =
/path
$location.search() =
{"a":"b"}
$location.hash() =
h
/base/first?a=b
|
sec/ond?flag#hash
|
external