I have a simple component as follows:-
@Component({
selector: 'list',
templateUrl: './list.component.html',
styleUrls: ['./list.component.css']
});
export class listComponent implments onInit {
@Input customTemplateUrl: string;
}
Can I load the custom template passed as @Input as the template for the component?