fix($location/$browser): prevent infinite digests when only modifying the hash of a URL

`===` :disappointed: