I have a specific use case where the component's html template can load from multiple places.
For example,
@Component({
selector: 'app-home',
template: require('http://xyz/home.component.html'), **// This can be from local or any other server**
styleUrls: [require('http://xyz/home.component.css')],
})
Need help in understanding how can I go about this or what are my alternatives.
Thanks