Angular - Component Interaction
Identify the error in this template snippet:
<input #input1 type="text"> <button (click)="submit(input2.value)">Submit</button>
<input #input1 type="text"> <button (click)="submit(input2.value)">Submit</button>
15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions