In Angular 4 to dynamically create a component you can use ngComponentOutlet directive: https://angular.io/docs/ts/latest/api/common/index/NgComponentOutlet-dir
ngComponentOutlet
I think for now you can use
https://www.npmjs.com/package/ng-dynamic-component
It is made specifically for this issue