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 {
}
I need to import ClinicFacilityService
that is declared in another module (apiClient.module
)
Is this even possible, if not why is not possible. At the moment i am importing ClinicFacilityService
like this:
import { ClinicFacilityService } from './api-client-service/clinic-facility.service';