A demonstration of lazy loading in AngularJS using RequireJS. This structure is AMD. So any plugin or directive should be in the same structure to function properly. But, why AMD?
- Install node.js
- Run
npm install
from within the root project directory to install relevant dependencies - Run
bower install
from within the root project directory to install library used by system salver atapp/library
folder. - Run
node server.js
from within the root project directory to start the app - Navigate to
http://localhost:3000/
in your browser