The NgModules tab displays the AppModule and any other submodule that is currently loaded into memory:
- Launch the /home route of the app
- Observe the NgModules tab, as follows:
You'll note that only the AppModule is loaded. However, since our application has a lazy-loaded architecture, none of our other modules are yet loaded.
- Navigate to a page in the ManagerModule
- Then, navigate to a page in the UserModule
- Finally, navigate back to the /home route
- Observe the NgModules tab, as shown: