Angular Testcase for Event Binding
Angular provides a DOM event object ($event) which stores the value of the DOM event and the corresponding values attached to the DOM…