I attempted to modify the route from the console by using this method to access the $state object:
$inject = angular.injector(['ng', 'ui.router']);
$inject.get('$state').go
Unfortunately, I encountered an error:
Uncaught Error: [$injector:unpr] Unknown provider: $rootElementProvider <- $rootElement <- $location <- $urlRouter <- $state <- $location(…)
The ui.router module is definitely included on the page. How can I successfully retrieve the $state object from the console and update the router using $state.go('state');