I am exercising below error when trying to implement validation even after importing formModule/RoutingModule. Any guess what else i am missing here

No directive found with exportAs ‘ngModel’.ngtsc(-998003)

FirstName
First Name is required.