I thought that if you add an import to the controller.ts file, that it had to be added to app.module.ts as well. But, when I added the NgForm to my controller alone without adding it to app.module.ts my code worked fine. Then when I added it to app.module.ts I got an error. What is the right way to do it?
-- You received this message because you are subscribed to the Google Groups "Angular and AngularJS discussion" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/angular/635c3250-2778-46ed-aa72-1d441908ddefo%40googlegroups.com.
