A demonstration of lazy loading in AngularJS using Asynchronous Module Definitions (AMD) with RequireJS syntax using Curl. This sample application was created to accompany the blog post entitled 'Lazy Loading In AngularJS'.
Simple specify your routes along with its lazy dependencies in app/scripts/appRoutes.js
Either serve this repo up with your web server or
- Install node.js
- Run
npm install
from within the root project directory to install relevant dependencies - Run
node server.js
from within the root project directory to start the app