Reviewing our app’s components
An Angular application has a tree structure consisting of all the components we create. In the following diagram, you will find the component tree of our recipe app, which is important for understanding the anatomy of the application:
Figure 2.7 – Components overview
Let’s break down the components:
AppComponent
: The parent component of the appHeaderComponent
: The component representing the header of the app that contains the user space, the menu, and the logoHomeComponent
: The component representing the landing page that containsRecipeFilterComponent
andRecipesListComponent
:RecipeFilterComponent
: The component representing the filter zone that contains the criteria fields and the Clear All and Show Results buttonsRecipesListComponent
: The component containing a list of recipes
RecipesDetailsComponent
: The component containing the details of one recipeRecipesCreationComponent
:...