You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
here, either text or orderBy are optional and can be independently present. So that won't allow constructions like search/:text/:orderBy.
And the parameters are absent from $state.params or $stateParams.
I have to use $locationChangeSuccess events combined $location.search() and
it's not practical at all. Partly because it fires before state changes.
It would be neat if there were an event like $stateUpdated, and also if
optional parameters were included in $stateParams.
Or maybe there's already some mechanism for this in UI router, if so please
tell me.
The text was updated successfully, but these errors were encountered:
I need to use optional parameters in my URLs, such as:
example.org/#search?text=optional%20params&orderBy=DATE
here, either
text
ororderBy
are optional and can be independently present. So that won't allow constructions likesearch/:text/:orderBy
.And the parameters are absent from
$state.params
or$stateParams
.I have to use
$locationChangeSuccess
events combined$location.search()
andit's not practical at all. Partly because it fires before state changes.
It would be neat if there were an event like
$stateUpdated
, and also ifoptional parameters were included in
$stateParams
.Or maybe there's already some mechanism for this in UI router, if so please
tell me.
The text was updated successfully, but these errors were encountered: