Modularized Angular example project, featuring lazy loading on route change.
- AngularJS Feature Proposal: https://groups.google.com/forum/?fromgroups#!topic/angular-dev/QRepqrifFTQ
- AngularJS lazy loading has been enabled in: https://github.com/timthesinner/angular.js
All examples below assume that you have already installed nodejs.
The following example works on Winblows, it assumes that npm has requirejs installed globally
- npm -g install require
- r.js.cmd -o build.js
Run with non-minified source:
- node scripts\web-server.js
Running with minified source requires a build:
- node scripts\web-server-minified.js