I have an Angular 2 component that has several sub-components within it. Some of these sub-components are expensive to load and may not always be necessary, especially if the user doesn't scroll far enough down the page.
Although I am familiar with lazy loading routes, is there a way to lazily load a template based on its visibility in or proximity to the viewport?