This repository was archived by the owner on Jan 29, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 9
Transition provider
jeme edited this page Apr 5, 2013
·
5 revisions
The $stateTransitionProvider enables you to hook into the state machine and take more control over it.
It enables you to cancel or redirect state transitions or simply run one or more functions when transitions occur.
Transition handlers are invoked with the $injector service, so you can inject services, values etc. that is registered with the $injector.
Additionally the following locals are provided:
-
$to: The state we are transitioning to. -
$from: The state we are transitioning from. -
$transition: Object used to reject or redirect.
Below is a list of topics covering parts of the State Transition Provider in detail.
- Route Provider
- Basic Configuration
- Parameters and Converters
- Decorators
- Case Sensitivity
- A Word on Trailing Slashes
- Legacy Support
- State Provider
- Basic Configuration
- Hierarchy Configuration
- Views
- Routes
- Transitions
- Resolve
- State Service
- Transition Provider
- Basic Configuration
- Stage Handlers
- Targeting Multiple States
- View Provider
- Updating Views
- Transactions
- Scroll Provider