import { ApplicationRef , ComponentFactoryResolver , Injector } from '@angular/core' ; import { SimpleModalService , SimpleModalServiceConfig } from './simple-modal.service' ; param { ComponentFactoryResolver } resolver param { ApplicationRef } applicationRef param { Injector } injector param { SimpleModalServiceConfig } options return { SimpleModalService } export function SimpleModalServiceFactory ( resolver , applicationRef , injector , options ) { return new SimpleModalService ( resolver , applicationRef , injector , options ) ; }