Hi guys !
My app is
cacheModule
module1
module2
shell-controller.js
app.js -> inject cacheModule, module1, module2
main.js -> angular.bootstrap(app)
<div ng-controller="shell as shellCtrl">
<ng-view></ng-view>
</div>
If I use *resolve* to load default data, I have to add resolve in every*
$route*.
So What I want is loading the default data from server and then success,
make the ng-view start.
I also try create a flag in *shellController **loadComplete *<ng-view
ng-if="loadComplete"></ng-view>
and angular.module("app").run(*//Load data here*) but It does not work.
Can you please tell me the correct event for that problem. Thanks, I am
using angular 1.3 rc0.
Thanks
--
You received this message because you are subscribed to the Google Groups
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.