Components: Component is a logical piece of code for
angular application which consist of 3 things:
**Custom Component: **A custom element extends HTML by
allowing you to define a tag whose content is created and controlled by
JavaScript code.
**Binding: **It allows us to define communication between
the component and view. So we can say that data binding is passed from
component to view and from view to the component.
Types of Binding:
(click)="event()"
The Eventbinding feature lets you listen to certain events such as mouse movements, keystrokes, clicks, etc.[(ngModel)]="abc"
Angular allows two-way data binding that will allow your application to share data in two directions i.e. from the components to the templates and vice versa.#angular #javascript #coding-skills #beginners