fix($location): do not $digest if browser's url change fired within $apply/$digest
Chrome (probably other browsers as well) fires 'hashchange' event synchronously, so if you change raw location from within $apply/$digest, we don't want to $apply twice. (It would throw an exception)
V
Vojta Jina committed
c49b8a2db5d916a9213547125af996d6c853230c
Parent: 5cdfe45