Browser with History API



$location.protocol() = {{$location.protocol()}}
$location.host() = {{$location.host()}}
$location.port() = {{$location.port()}}
$location.path() = {{$location.path()}}
$location.search() = {{$location.search()}}
$location.hash() = {{$location.hash()}}
/base/first?a=b | sec/ond?flag#hash | external

Browser without History API



$location.protocol() = {{$location.protocol()}}
$location.host() = {{$location.host()}}
$location.port() = {{$location.port()}}
$location.path() = {{$location.path()}}
$location.search() = {{$location.search()}}
$location.hash() = {{$location.hash()}}
/base/first?a=b | sec/ond?flag#hash | external