I want to split my app into 3 different ones.
- /home will be its own Angular App
HomeApp - /details will be its own Angular App
DetailsApp - /cart will be its own Angular App
CartApp
I want to develop and deploy them independently. Is it possible to create an HTML page which loads the corresponding Angular App based on the route? e.g.
/home --> HomeApp will be loaded
if i navigate to /details then HomeApp will be removed from the DOM and DetailApp gets loaded.
Note: 2 angular applications do not coexsist at the same time. To me it would be sufficient to have 1 app in the dom at a time