WIP: [[nomerge]] adapt to location changes happening outside of Angular

Just opening for Travis for now. Still need to determine if this is best approach to problem described in #6976.
maybe, given that the url might have changed outside of angular, we should rename this to reflect what it actually is --- the browsing context's location