Skip to content

vojtajina/ng-1.x-async-hack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is an example of hacking Angular v1.x to lazy load code that a bunch of people have asked me for.

The main.js is loaded at the beginning. Later, when navigating to /list route, additional module lazy-list.js is loaded. It should be fairly simple to make this work with RequireJS.

In Angular v2, integration with a module loader (such as RequireJS) and lazy loading will be simple.

About

Angular v1.x hacked to lazy load code

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published