Okay I am pretty new to Angular. But I think I do understand how lazy-loading works here.
As far as lazy-loading goes, the routes that we mention, when visited, will load the bundled js file of the module from the server. So this bundled js file must be placed here at build time.
Now I have a question that is it possible to inject an angular module at runtime such that it was not a part of the build phase. It's a new module that was created independent of the main codebase and I want to inject it. Please don't suggest micro frontends for this since that is out of scope as per my requirement.
Also the same module should be accessible at a new route. I am not aware if the code for this route also has to be included at runtime or if at build time it can be done and not impact the build process.
I am working with Angular 9.1