dependencies Legend  Declarations  Module  Bootstrap  Providers  Exports cluster_ProgramsModule cluster_ProgramsModule_declarations cluster_ProgramsModule_imports ProgramListingComponent ProgramListingComponent ProgramsModule ProgramsModule ProgramListingComponent->ProgramsModule SolutionListingComponent SolutionListingComponent SolutionListingComponent->ProgramsModule CoreModule CoreModule CoreModule->ProgramsModule SharedModule SharedModule SharedModule->ProgramsModule

File

src/app/manage-learn/programs/programs.module.ts

import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { Routes, RouterModule } from '@angular/router';
import { ProgramListingComponent } from './program-listing/program-listing.component';
import { SolutionListingComponent } from './solution-listing/solution-listing.component';
import { IonicModule } from '@ionic/angular';
import { SharedModule } from '../shared/shared.module';
import { RouterLinks } from '@app/app/app.constant';
import { TranslateModule } from '@ngx-translate/core';
import { FormsModule } from '@angular/forms';
import { CoreModule } from '../core/core.module';

const routes: Routes = [
  {
    path: '',
    component: ProgramListingComponent,
  },
  {
    path: `${RouterLinks.SOLUTIONS}/:id`,
    component: SolutionListingComponent,
  },
];

@NgModule({
  declarations: [ProgramListingComponent, SolutionListingComponent],
  imports: [
    CommonModule,
    RouterModule.forChild(routes),
    TranslateModule.forChild(),
    SharedModule,
    IonicModule,
    FormsModule,
    CoreModule,
  ],
  entryComponents:[]
})
export class ProgramsModule {}

results matching ""

    No results matching ""