Can someone make a gist of the idiomatic way in Angular to navigate between two pages (A and B) where both A and B have a model to fetch?
-
-
@wycats@tonywok If you're forcing the fetch to resolve before the view is loaded then yeah. I would suggest this http://jsbin.com/ixAheJU/1/edit#yolo …Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
@wycats loading without waiting for route change example http://plnkr.co/edit/nrEavk?p=preview …Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
@wycats ...that was the only way I knew how to force the page to wait for promise resolution. That said, more exp with ember than angular :/Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
@wycats Hmm, not sure. I only have one angular app deployed. I found myself relying heavily on the resolve functions.Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.