Question: what is the difference between lazy loading and eager loading in angular 2?
Answer: Eager loading is loading modules before application starts. Lazy loading is loading modules on demand. Preloading is loading modules in background just after application starts. In lazy loading and preloading, modules are loaded asynchronously.