Complete the code to bind the button click event to the onClick method.
<button (click)="[1]">Click me</button>
In Angular templates, event bindings use the method name with parentheses to call the method on event.
Complete the interpolation expression to display the title property.
<h1>{{ [1] }}</h1>title() which is invalid for properties.this.title which is not recognized in templates.Interpolation uses the property name directly without parentheses or this.
Fix the error in the event binding to correctly call increment() on button click.
<button (click)="[1]">Add</button>
call() or bind() which are not needed in templates.To call a method on event, include parentheses in the event binding.
Fill both blanks to create a two-way binding with [(ngModel)] on the input element to the name property.
<input [1]="[2]">
Two-way binding uses the syntax [(ngModel)]="propertyName".
Fill all three blanks to create a template statement that calls submitForm() on form submit and prevents default behavior.
<form (submit)="[1]; $event.[2](); [3]">
preventDefault() causes page reload.The form submit calls submitForm(), prevents default with preventDefault(), and returns false to stop further processing.