ComponentDirective
Angular component is a directive that enables you to utilize the web component functionality throughout the application.Angular directive is a technique by which we attach behavior to the elements.
It helps you to divides your application into smaller components.It helps you to design the reusable components.
It can define pipesIt cannot define pipes.