Lazy Load Scripts



  • Hello,
    I was looking for a way to create a lazy loading script for all the controllers I have in my app, to avoid load all at the same time.
    I’m facing some troubles with event triggers and I think is caused by the huge number of files I have (each page has a controller an to keep the things organized I have i js file for each one…)
    I found this article
    http://ify.io/lazy-loading-in-angularjs/
    and it seems to be reasonable but I’m not sure how to integrate the solution while using onsen ui.
    does anybody here did it before and have some clue?

    thanks for your time.


Log in to reply