Skip to Content
avatar image
Former Member

Load all controller files

Hey,

i want to make my App offline capable. How can I load all controller files at the beginning of my App? Currently the controller files only get loaded when they are needed.

Thanks for your help and best regards,

David

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Nov 29, 2016 at 01:22 PM

    using <script> tag you can load all javascripts files inside <head> tag in index.html.

    Regards,

    Akhilesh

    Add comment
    10|10000 characters needed characters exceeded

  • Nov 29, 2016 at 01:56 PM

    Create a component-preload.js file with all of the app contents contained within it.

    https://help.hana.ondemand.com/webide/frameset.htm?dfb26ef028624cf486a8bbb0bfd459ff.html

    Regards,

    Jamie

    SAP - Technology RIG

    Add comment
    10|10000 characters needed characters exceeded