I might have some kind of missunderstanding. Im using angular ui router and i have the next issue:
I have the next State provider:
angular .module(\'Main
I experienced a similar problem. $state.go not working in the .run function.
Placing $state.go in a service solved my problem.