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

Closes #10300