i got a question on an angularjs project i'm working to.
I got a 1.5 Component, which includes some subcomponents. One of these subcomponents is quite slow to load, due to the size of data coming from server. But the user normally sees it after the other ones, because it is displaied at the end of the page.
Say the structure is something like this
Main Content
fast sub component content
slow sub component content
What I would like is 1- load the basic component and the fast subcomponent immediately and let them show to the user 2- load the slow component after the other ones has already displayed, in a way that user doesn't have perception of slow loading time.
How can I do?
Can I define this lazy-load, even if the slow component is not loaded on request, but by default, just after the others have finished ?