Skip to content

Latest commit

 

History

History
21 lines (17 loc) · 773 Bytes

File metadata and controls

21 lines (17 loc) · 773 Bytes

angular-modular-example

Modularized Angular example project, featuring lazy loading on route change.

All examples below assume that you have already installed nodejs.

Build Minified Modules

The following example works on Winblows, it assumes that npm has requirejs installed globally

  • npm -g install require
  • r.js.cmd -o build.js

Web Server Scripts

Run with non-minified source:

  • node scripts\web-server.js

Running with minified source requires a build:

  • node scripts\web-server-minified.js