useFactory: I18nHttpLoaderFactory,
deps: [HttpClient],
UEditorModule.forRoot({
js: [
`//apps.bdimg.com/libs/ueditor/1.4.3.1/ueditor.config.js`,
`//apps.bdimg.com/libs/ueditor/1.4.3.1/ueditor.all.min.js`,
options: {
UEDITOR_HOME_URL: `//apps.bdimg.com/libs/ueditor/1.4.3.1/`,
NgxTinymceModule.forRoot({
baseURL: '//cdn.bootcss.com/tinymce/4.7.4/',
JsonSchemaModule,
ServiceProxyModule
providers: [
{ provide: LOCALE_ID, useValue: 'zh-Hans' },
{ provide: HTTP_INTERCEPTORS, useClass: SimpleInterceptor, multi: true },
{ provide: HTTP_INTERCEPTORS, useClass: DefaultInterceptor, multi: true },
{ provide: ALAIN_I18N_TOKEN, useClass: I18NService, multi: false },
StartupService,
provide: APP_INITIALIZER,
useFactory: StartupServiceFactory,
deps: [StartupService],