Can't bind to ngmodel since it isn't a known property of input angular?



Can't bind to ngmodel since it isn't a known property of input angular?..

Answer / Harish Jain

This error usually occurs when you've forgotten to import the FormsModule or ReactiveFormsModule in your module. You should ensure that Angular's forms modules are imported before using ngModel.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More AngularJS Interview Questions

Explain ngif directive ?

1 Answers  


What is a cookie?

1 Answers  


What is transclusion in angular?

1 Answers  


What is main differences between angular expression and javascript expression?

1 Answers  


What is digest cycle?

1 Answers  


What are directives in angular7?

1 Answers  


Explain angular 2 hidden property?

1 Answers  


How to create a block component dynamically on click of drop down?

1 Answers  


What are Modules in AngularJS?

1 Answers  


How do you use flexbox?

1 Answers  


On which types of component can we create a custom directive?

1 Answers  


What is inject in angular?

1 Answers  


Categories