Skip to content

liujinjian1016/angularjs-lazy-loading-with-requirejs

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

angularjs-lazy-loading-with-requirejs

A demonstration of lazy loading in AngularJS using Asynchronous Module Definitions (AMD) with RequireJS. This sample application was created to accompany the blog post entitled 'Lazy Loading In AngularJS'. Note, however, that this is only meant to be a very basic (i.e., not production quality) example.

How it works

Simple specify your routes along with its lazy dependencies in app/scripts/routes.js

How to run the demo

  • 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 relevant bower components
  • Run node server.js from within the root project directory to start the app
  • Open http://localhost:3000/ in the browser

About

A demonstration of lazy loading in AngularJS using Asynchronous Module Definitions with RequireJS.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 67.4%
  • HTML 24.9%
  • CSS 7.7%