Using Other Components
Components depend on other components, directives and pipes. For example, TodoListComponent
relies on TodoItemComponent
. To let a component know about these dependencies we group them into a module.
The property declarations
expects an array of components, directives and pipes that are part of the module.
Please see the Modules section for more info about NgModule
.
Last updated