Angularjs how to loads required js files home page index.html

32 views Asked by At

We have angularjs app with lot of js getting loaded during the initial page load. Which are not required as part of home page. How we can void these. Is requieedjs solve this. How and when other js files get loads.

1

There are 1 answers

0
pranavjindal999 On

requirejs can be troublesome to use with angular

use following: https://oclazyload.readme.io/docs