So, right now we can't load modules dynamically, but we can inject some 
stuff dynamically into exisiting modules.
http://ify.io/lazy-loading-in-angularjs/
And some example plunker applying that principle by 
@olastan<https://github.com/olostan>
:
http://plnkr.co/edit/tV1aCcBWJDib7OLGcDwd?p=preview
Another angle to address problem. Not as useful as loading whole modules, 
but can address the problem of dynamically injecting 
services/controllers/directives etc. without much re-work (basically, you 
can add some module named 'dynamic-dependencies' and inject all your 
dynamic stuff in there, so you won't have problem with hardcoding module's 
name).

On Sunday, June 30, 2013 2:40:49 AM UTC+3, David Driscoll wrote:
>
> I was watching the meetup video on Angular 1.2 and beyond, and at around 
> 55:00, the question is asked about angularjs and requirejs.  Misko and Brad 
> drop a bomb that RequireJS is going to replace angular.module, are there 
> any more details about how this integration will work?
>
>
> http://www.youtube.com/watch?v=W13qDdJDHp8&feature=player_detailpage#t=3301s
>  
>

-- 
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/groups/opt_out.

Reply via email to