In this post you’ll learn how to Lazy Load an Angular module. Lazy loading means that our code isn’t downloaded by the browser until it’s needed. For instance, if I login to /admin I would get a “chunk” of JavaScript code specifically for the Admin dashboard.
Full article