Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit 228281e

Browse files
whayler1pkozlowski-opensource
authored andcommitted
docs($location): improve $location.hash() example
Closes #10300
1 parent acb066e commit 228281e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ng/location.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -555,7 +555,7 @@ var locationPrototype = {
555555
*
556556
*
557557
* ```js
558-
* // given url http://example.com/some/path?foo=bar&baz=xoxo#hashValue
558+
* // given url http://example.com/#/some/path?foo=bar&baz=xoxo#hashValue
559559
* var hash = $location.hash();
560560
* // => "hashValue"
561561
* ```

0 commit comments

Comments
 (0)