Build Your First Angular Website: #12 Lazy Loading an Angular Section


If a section of our site might not always be visited, it makes sense that we only load these components if a user visits one of these sections.

This is where the NgModule comes in. We can separate the parts of our site into these modules that have grouped set of functionality. We’ll create a new module for our users section, using the Angular CLI to handle the generation for us.

To learn more about DigitalOcean: https://www.digitalocean.com/
Follow us on Twitter: https://twitter.com/digitalocean
Like us on Facebook: https://www.facebook.com/DigitalOcean
Follow us on Instagram: https://www.instagram.com/thedigitalocean
We’re hiring: http://grnh.se/aicoph1


Duration: 00:13:40
Publisher: DigitalOcean
You can watch this video also at the source.