The Benefits of Angular Coding
Angular uses an event system to manage the flow of data. When a user clicks a mouse, a click event is emitted. The event handlers are part of the component class. When an event occurs, Angular recognizes it with a special syntax. In addition, the event is bound to the appropriate assignment, based on its type.