import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { FormsModule } from '@angular/forms';
import { ClinicFacilityService } from './apiClient.module';
@NgModule({
imports: [
CommonModule,
FormsModule
],
declarations: [
DailyScheduleComponent,
],
providers: [
ClinicFacilityService
],
exports: [
DailyScheduleComponent
],
})
export class ClinicDashboardModule {
}
我需要导入ClinicFacilityService
在另一个模块(apiClient.module
)中声明的
这甚至可能吗,如果不是,为什么不可能。目前我正在ClinicFacilityService
像这样导入:
import { ClinicFacilityService } from './api-client-service/clinic-facility.service';