Skip to content

bpotaczek/ng1-lazyload

Repository files navigation

Angular Lazyloading with ocLazyload and UI-Router

To run:

# clone repo
$ git clone https://github.com/bpotaczek/ng1-lazyload.git mylazyload

# change directory
$ cd mylazyload

# install dependencies
$ npm install

# start server
$ npm run start

open http://localhost:8080/#/ in your browser

open developer tools

change url to http://localhost:8080/#/moduleA/step1 There should be a download of file moduleA.chunk.js

change url to http://localhost:8080/#/moduleB/aaaa There should be a download of file moduleB.chunk.js and it should change the url to /moduleB/step1

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published