I have a shared module with multiple components inside it’s folder:
shared-folder
|______component1-folder
|______component1.component.html
|______component1.component.scss
|______component1.component.ts
|______component2-folder
|______shared.module.ts
In shared.module.ts I have imported and exported the angular forms module, but when using ngModel, ngModelChange in component1.component.html it is not working.
Do I need to import/export forms module anywhere else, does anyone had the same problem?
By the way, I am importing/export forms module in app.module.ts too.