State
ui.router.state
Definition object for states. Includes methods for manipulating the state heirarchy.
State(config);
| Param | Type | Details |
|---|---|---|
| config | Object | A configuration object hash that includes the results of user-supplied
values, as well as values from |
| Object | Returns a new |
Returns the fully-qualified name of the state, based on its current position in the tree.
| string | Returns a dot-separated name of the state. |
Compares the identity of the state against the passed value, which is either an object
reference to the actual State instance, the original definition object passed to
$stateProvider.state(), or the fully-qualified name.
| Param | Type | Details |
|---|---|---|
| ref | Object | Can be one of (a) a |
| boolean | Returns |