Angular | Directives | ngModel error

I have tried to create a contact form with the input field having ngModel directive, but when tried to log the instance of form control class, that shows me an error as " NG8003: No directive found with export As ‘ngModel’ ".

@kishore
I had the same error and to fix it, I just added to app.module.ts in the imports arr the FormsModule and imported it.