dependencies Legend  Declarations  Module  Bootstrap  Providers  Exports cluster_AboutModule cluster_AboutModule_declarations cluster_AboutModule_AboutComponent_providers AboutComponent AboutComponent AboutModule AboutModule AboutComponent->AboutModule CompodocComponent CompodocComponent CompodocComponent->AboutModule TodoMVCComponent TodoMVCComponent TodoMVCComponent->AboutModule EmptyService EmptyService EmptyService->AboutComponent

File

src/app/about/about.module.ts

Description

The about module

Just embedding component and it's routing definition in AboutRoutingModule

About module

import { NgModule } from '@angular/core';
import { RouterModule } from '@angular/router';

import { AboutComponent } from './about.component';
import { TodoMVCComponent } from './todomvc/todomvc.component';
import { CompodocComponent } from './compodoc/compodoc.component';

import { ABOUT_ROUTES } from './about.routes';

/**
 * The about module
 *
 * Just embedding <about> component and it's routing definition in {@link AboutRoutingModule}
 */
@NgModule({
    declarations: [AboutComponent, TodoMVCComponent, CompodocComponent],
    imports: [RouterModule.forChild(ABOUT_ROUTES)]
})
export class AboutModule {}

result-matching ""

    No results matching ""