src/app/list/list.module.ts
The list of todos module
Contains list component which can filter types of todos :
Type | API |
---|---|
completed | displayCompleted |
all | displayAll |
remaining | displayRemaining |
import { NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
import { ListComponent } from './list.component';
import { TodoModule } from './todo/';
import { TodoComponent } from './todo/todo.component';
/**
* @ignore
*/
const MODULES = [TodoModule, BrowserModule];
/**
* The list of todos module
*
* Contains list component which can filter types of todos :
*
* | Type | API |
* | --- | --- |
* | completed | displayCompleted |
* | all | displayAll |
* | remaining | displayRemaining |
*/
@NgModule({
imports: [MODULES, TodoComponent],
declarations: [ListComponent],
exports: [ListComponent],
})
export class ListModule {}