It sounds to me like adding a new component in which your template is defined.
let factory = this.componentFactoryResolver.resolveComponentFactory(MyNewcomponent);
let x = this.cardtempbase.createComponent(factory);
your constructor :
// `ViewContainerRef` from the component itself
constructor(private viewContainerRef:ViewContainerRef, private componentFactoryResolver: ComponentFactoryResolver) {}
in order to work, MyNewComponent must be declared in NgModule (app.module.ts)
entryComponents : [ MyNewComponent ],