I\'ve got the following error when launching my Angular app, even if the component is not displayed.
I have to comment out the so that my
ngModel is coming from FormsModule.There are some cases when you can receive this kind of error:
(In some version I faced this problem) You have imported correctly the FormsModule but the problem is on the input HTML tag. You must add the name tag attribute for input and the object bound name in [(ngModel)] must be the same as the name into the name attribute