> $location.path()将返回foo / bar / index.html
> $location.absUrl()会返回http://www.something.com/foo/bar/index.html?color=yellow\u0026amp;animal=rat
> $location.url()将返回foo / bar / index.html?color = yellow& animal = rat
有什么功能将返回http://www.something.com/foo/bar/index.html?