Due to the presence of 2 separate HTML files, each file will contain the necessary JavaScript scripts for initialization.
I plan on creating 2 distinct bundles of JS so that I can update the user interface independently from the admin interface without interconnecting the scripts. It is possible to import a shared common module for both AppModule and AdminAppModule, as there may be some overlapping functionality and components they might utilize.
Another consideration is that the server must be capable of serving both index.html and admin.html, allowing users to access yoursie.com/index and yoursite.com/admin.