An angular app is usually composed of more than one modules, such as menu, 
editor, angular-ui-1, angular-ui-2 etc. And each of them usually has its 
own js to load before injected into app. So the problem comes:

App -> all modules -> all JS ("->" means dependency)

But we can't DYNAMICALLY or INCREMENTALLY add inject modules into app, that 
means we must bootstrap app at the very beginning phase and load ALL JS as 
long as it is used by any page in our web site. 


That seems terrible for mobile HTML app based on angular!


Could anybody give me any ideas? 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.

Reply via email to