Notice: The Monaca & Onsen UI Community Forum is shutting down.

For Onsen UI bug reports, feature requests and questions, please use the Onsen UI GitHub issues page. For help with Monaca, please contact Monaca Support Team.

Thank you to all our community for your contributions to the forum. We look forward to hearing from you in the new communication channels.

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.