requirejs supports relative paths.

Used properly it scales cleanly and is a lifeasaver.

There are a number of modules out there to lazy load angular components using 
requirejs. I would definitely recommend such an architecture for your situation 
if you dont want to load a giant app up front.

Also, it might be worth it to know that were you to play around with Angular 
2.0 today, you'd see that its es6 modules compile down to requirejs/amd syntax 
since that's how traceur compiler, converts es6 to es5 for the browser. Just 
sayin.

-- 
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