Closed EvgeniiVoskoboinik closed 8 years ago
Deep state redirect is synchronous, so you can't use promises.
UI-Router 1.0 hooks support asynchronous processing. See https://ui-router.github.io/docs/latest/interfaces/ng1.ng1statedeclaration.html#redirectto
I'm new in Angular, maybe I don't understand something, but when I try to use this code it doesn't work. `
` And when i dont use promise all work well