OpenTechBook
  • Home
  • Open Books
    • All Open Books

    • Free eBooks
    • Free Magazines
    • Free Journals

    • Submit an Open Book
  • Quizzes
Home » Quiz » Angular Quiz

Which directive is used to create a form control in template-driven forms?

Difficulty level
  • FormControl
  • FormGroup
  • ngForm
  • ngModel
In template-driven forms, the ngModel directive is used to create a form control. It binds form elements like input fields and selects to properties in the component class, allowing two-way data binding.
Add your answer
Loading...
Facebook Twitter Linkedin Reddit Pinterest
Angular Quiz
Quiz
The _____ file in Protractor allows you to specify settings such as the Selenium address and test files.
What is the purpose of the next() method in a Subject?

Related Quiz

  • How can a parent component communicate with a child component without using @Input or @Output?
  • Which Angular CLI command is used to create a new Angular project?
  • To execute the Observable and start emitting values, you need to call the _____ method.
  • You are building a dashboard and have created a "UserCard" component to display user details. You want this component to display user details differently based on the type of user (Admin, Guest, Registered). Which feature of Angular components can help you achieve this without creating multiple components?
  • You are tasked with implementing a sign-up form where the password field must match the confirm password field. Which approach would you use to validate this in Angular?

Leave a commentCancel

Your email address will not be published. Required fields are marked *

Hot Quiz

PHP QuizMachine Learning QuizReact.js QuizCyber Security QuizPython QuizNode.js QuizASP.NET Core QuizData Science Statistics QuizCSS QuizADO.NET QuizCheckpoint QuizServlet QuizData Modelling QuizAPI Testing QuizDatabase Testing QuizBootstrap QuizAlgorithm QuizComputer Science QuizCommvault QuizJCL Quiz
Copyright © 2025 Open Tech Book
  • About
  • Contact
  • FAQ
  • DMCA
  • Disclaimer
  • Privacy Policy