Put in order · Angular course · Module 1: Introduction to Angular
Component hierarchy
Order the component tree from the diagram from the root (at the top) to the most deeply nested (at the bottom). Components on the same level can go in any order:
Items to put in order
- ListComponent
- AppComponent
- DetailComponent
- MainContentComponent
Show the answer
Correct order:
- AppComponent
- MainContentComponent
- ListComponent
- DetailComponent