Angular component selector identifies the element in a template and instantiate a component instance.
Component selector syntax is the same as the CSS selector. Currently Angular supports the following selectors.
1. Element Name Selector
As you often see, you can use element-name selector.
Co…