Question · Angular course · Module 2: Components

Summary: Types of Data Binding

Which syntax correctly represents two-way binding in Angular?

Answer options

  • [ngModel]
  • (ngModel)
  • [(ngModel)]
  • {{ ngModel }}
Show the answer

Correct answer:

  • [(ngModel)]