import { ModalModule } from 'ngx-bootstrap/modal'
import { AuthService } from './auth'
-import { ConfigService } from './config'
+import { LoginGuard, UserRightGuard } from './routing'
+import { ServerService } from './server'
import { ConfirmComponent, ConfirmService } from './confirm'
import { MenuComponent, MenuAdminComponent } from './menu'
import { throwIfAlreadyLoaded } from './module-import-guard'
providers: [
AuthService,
ConfirmService,
- ConfigService
+ ServerService,
+ LoginGuard,
+ UserRightGuard
]
})
export class CoreModule {
- constructor ( @Optional() @SkipSelf() parentModule: CoreModule) {
+ constructor (@Optional() @SkipSelf() parentModule: CoreModule) {
throwIfAlreadyLoaded(parentModule, 'CoreModule')
}
}