I'm facing an issue. I'm working with angular 1.2RC3 and ui-route 0.2. If i resolve with a function which is doing a synchronous return, it works. With a promise, the controller is initialized before resolving the promise.I'm facing an issue. I'm working with angular 1