Put in order · Angular course · Module 2: Components
Two-way binding ngModel
Arrange the single-line tokens to create a two-way binding of an input field value to the samuraiName property:
Items to put in order
- "samuraiName">
- [(ngModel)]
- <input
- =
Show the answer
Correct order:
- <input
- [(ngModel)]
- =
- "samuraiName">