Show a Loading Indicator for Lazy Routes in Angular

Share this video with your friends

Send Tweet

As shown in a previous lesson, we can easily code split and lazy load a route in Angular. However when the user then clicks that lazy loaded route, it make some time to actually fetch and run the JavaScript bundle. In this lesson we'll see how we can implement a loading indicator for such lazy loaded routes.