I have to create two different themes for an angular application. Each theme needs to be loaded based on a property from an API call. I would like to create two HTML files that will use the same .ts code, because the functionality will remain the same.
Whats is the best approach to have this implemented. Right now this implementation is made using ngSwitch inside .html