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’ ".