StateReference
ui.router.state
Wraps a state and a set of parameters with the value used to identify the state. Allows states to be referenced in a consistent way in application code, separate from state definitions.
StateReference(identifier, state, params, base);
Param | Type | Details |
---|---|---|
identifier | * | An identifier for a state. Either a fully-qualified path, or the object used to define the state. |
state | State | The |
params | Object | Parameters attached to the current state reference. |
base | Object | Optional. Base state used during lookup of state definition by identifier. |