I have a number of modules that I want to lazy load on to a single page. They may load into any one of several pages in different configurations. They may be pretty heavy, so I don't want them to all load initially. Router wouldn't be appropriate for this situation. How do I lazily load them manually without router?
-
1Possible duplicate of Angular2: Loading components dynamically from a service responseVova Bilyachat– Vova Bilyachat2017-01-18 00:13:30 +00:00Commented Jan 18, 2017 at 0:13
-
This may also be a solution: medium.com/@tudorgergely/…BBaysinger– BBaysinger2017-01-19 00:36:15 +00:00Commented Jan 19, 2017 at 0:36
-
1@VolodymyrBilyachat is not the same. The other question is about components, here he is asking about modules (can contain components, directives, pipes, services, other modules).edrian– edrian2017-07-31 17:40:56 +00:00Commented Jul 31, 2017 at 17:40
Add a comment
|