Shared module not importing FormsModule

I have a shared module with multiple components inside it’s folder:


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.

Ok, just realised that I didn’t import Ionic Module, that’s why it was not working.