dependencies Legend  Declarations  Module  Bootstrap  Providers  Exports cluster_EmployeeSearchModule cluster_EmployeeSearchModule_declarations cluster_EmployeeSearchModule_imports EmployeeListComponent EmployeeListComponent EmployeeSearchModule EmployeeSearchModule EmployeeListComponent->EmployeeSearchModule EmployeeDisplayModule EmployeeDisplayModule EmployeeDisplayModule->EmployeeSearchModule EmployeeApiModule EmployeeApiModule EmployeeApiModule->EmployeeSearchModule

File

libs/employee-search/src/employee-search.module.ts

import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { ReactiveFormsModule } from '@angular/forms';
import { RouterModule, Route } from '@angular/router';

import { EmployeeDisplayModule } from '@enterprise-example/employee-display';
import { EmployeeApiModule } from '@enterprise-example/employee-api';

import { EmployeeListComponent } from './employee-list/employee-list.component';

const ROUTES: Route[] = [
  { path: '', component: EmployeeListComponent }
];

@NgModule({
  declarations: [
    EmployeeListComponent
  ],
  imports: [
    EmployeeDisplayModule,
    CommonModule,
    ReactiveFormsModule,
    EmployeeApiModule,
    RouterModule.forChild(ROUTES)
  ],
  providers: []
})
export class EmployeeSearchModule { }

results matching ""

    No results matching ""