angularjs-lazy-loading-with-requirejs

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

Homepage

Angular Core Dependency: ~1.2.0

Module License: BSD

Added by: Sam Deering

GitHub

Repository

ifyio/angularjs-lazy-loading-with-requirejs

Stats

Stars: 311

Watchers: 311

Forks: 110

Module Description

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

Module stats last updated: 2017-10-29 16:00:03

Disclaimer: Some data on this page may have been gathered from the authors GitHub respository. If you see any mistakes or outdated information please let us know. Thanks!