I have two abstract states parent
and parent.child
, and an activateable state parent.child.grand
.
I want parent
to be promise resolved before parent.child.grand
gets its resolves executed. Why? Because a certain data which comes from the ajax request in the resolve from parent
is required inparent.grand.child
.
Here's a gist
Is it possible to sequentially chain the promises of parent to children states without using controllers ?
(parent
resolve start -> finish ajax request -> resolve promise -> parent.child.grand
resolve start -> finish ajax request -> resolve promise)