ui-router
ui-router copied to clipboard
$state in service
I'm trying to migrate ng-route to ui-router, and I'm, facing an issue regarding usage a $state in my custom service.
Is there some workaround to get access to the relevant for ui-router $route and $routeParams?
@Vatsov why do you need $state in a service?
$state.go is one case.
@Vatsov what specifically are you looking to use? What isn't working? This is probably a better question for stackoverflow