docs($location): improve $location.hash() example

Closes #10300
This commit is contained in:
Justin
2014-12-02 16:02:34 -05:00
committed by Pawel Kozlowski
parent acb066e84a
commit 228281eecc

View File

@@ -555,7 +555,7 @@ var locationPrototype = {
*
*
* ```js
* // given url http://example.com/some/path?foo=bar&baz=xoxo#hashValue
* // given url http://example.com/#/some/path?foo=bar&baz=xoxo#hashValue
* var hash = $location.hash();
* // => "hashValue"
* ```