In reply to a tweet by raftheunis:

@raftheunis I *think* the two places setBrowserUrlWithFallback is called in location.js. But Angular goes out of its way to obscure things.