Reworked the URL detection logic.
Fixed a bug where the whenever would not trigger correctly when navigating back to the disabled route.
Fixed a bug where the angular whenever would not recognize urls with custom ports (anything other than 80)