Can we load template of 'some.ts' file from another location

i would like to load html content from an API. can we override – template or templateUrl ??

@Component({
selector: ‘app-default’,
// templateUrl: - can we get API content (it is already returning html response) direclty to templateURL or to 'template: '?
})

yes you can put a external URL, i never did but i heard we can use and many people are doing like this if they have small changes in their app they will go through this way

could you share some examples or links . please !