Reference: https://hassantariqblog.wordpress.com/2017/02/12/angular2-error-no-component-factory-found-did-you-add-it-to-ngmodule-entrycomponents/
//on app.module.ts, add thise codes below entryComponents: [ ConfirmTicketComponent //this is your component ],