There are some sections that are repeated in the whole app. We create components and call that component where it required.
Create a component then declare and export component in module file like this :
2. Use the selector of custom component in another component like this :