No provider for ControlContainer Error in Angular

Which form you use according to you can add in your Module file.

1. Template-driven forms make use of the "FormsModule".

2. Reactive forms are based on "ReactiveFormsModule".

import { FormsModule } from '@angular/forms';

OR

import { ReactiveFormsModule  } from '@angular/forms';

Note: if its not working you can add both Forms Module

Leave a Reply

Your email address will not be published. Required fields are marked *