# AngularJS - lazy downloading
# webpack
Lazy loading avec WebPack & AngularJS
# requirejs
Based on blog article lazy downloading in angularjs See also ocLazyLoad
grunt task used : grunt-contrib-requirejs
Others tuto :
IMPORTANT In fact, using requirejs with angular is not for lazy loading but for lazy downloading. Angular already lazy load modules. They are executed only when needed. Require is useful when the website source code is big with many dependencies. Downloading everything once can be a problem, especially for mobile websites. See this discussion, or this one