fix($location): don't crash if navigating outside the app base
Previously, if you navigate outside of the Angular application, say be clicking the back button, the $location service would try to handle the url change and error due to the URL not being valid for the application. This fixes that issue by ensuring that a reload happens when you navigate to a URL that is not within the application. Closes #11667
P
Peter Bacon Darwin committed
9e492c358c19549696577c86c2c61b93f50ab356
Parent: 92c7ce5