Which Angular module must be imported to use template-driven forms?
- FormsModule
- HttpClientModule
- ReactiveFormsModule
- RouterModule
To use template-driven forms in Angular, you must import the FormsModule. This module provides the necessary directives and services for working with template-driven forms.
Loading...
Related Quiz
- The _____ decorator in a component class binds a property inside the component to a value that is passed from outside the component.
- What type of data binding is used when you want to send data from a component's class to its template?
- How can you ensure that a service provides a single, shared instance across an entire Angular application?
- How can you share a single Observable execution between multiple subscribers?
- In Angular, the data fetched by the Route Resolver can be accessed in the component through the route's _____ property.