Intercepting and redirecting for both location.path() and specifically altering the route in the browser.