State Service

// $state methods
$state.go("home");
$state.reoad() // reload current state
$state.get() // returns array of states in application

// $state properties
$state.current // reference to currently active state
$state.params // params with current active state

// Events
$stateChangeStart
$stateChangeSuccess
$stateChangeError
$stateNotFound

Last updated

Was this helpful?