title: formGroup expects a formGroup instance, how to properly assign the formcontrol names
body: <p>I am really new to angular2 and ionic. so i am trying to implement a form that takes in values and will be submitted to a service. i am getting the error:</p>
  
  <pre><code>Error in ./RecordvisitPage class RecordvisitPage - caused by: formGroup expects a FormGroup instance. Please pass one in.
  </code></pre>
  
  <p>here is my html page:</p>
  
  <pre><code>&lt;ion-content&gt;
    &lt;form [formGroup]="recordVisitForm"&gt;
      &lt;ion-item&gt;
        &lt;ion-label&gt;Action Date&lt;/ion-label&gt;
        &lt;ion-input formControlName="actionDate" name="actionDate"&gt;&lt;/ion-input&gt;
      &lt;/ion-item&gt;
      &lt;ion-item&gt;
        &lt;ion-label&gt;Contacted&lt;/ion-label&gt;
        &lt;ion-input formControlName="contacted" name="contacted"&gt;&lt;/ion-input&gt;
      &lt;/ion-item&gt;
   &lt;/form&gt;
  &lt;ion-footer&gt;
    &lt;button ion-button navPop&gt;Back&lt;/button&gt;
    &lt;button ion-button (click)="saveVisit()"&gt;Save&lt;/button&gt;
  &lt;/ion-footer&gt;
  </code></pre>
  
  <p>so the component attatched to this html page is :</p>
  
  <pre><code>public recordVisitForm: FormGroup;
  constructor(public navCtrl: NavController, private  loanService : LoanService,  public formBuilder: FormBuilder, public params: NavParams) { 
  
      this.loan = params.get('loan');
  
      this.recordVisitForm = formBuilder.group({
        actionDate: ['', Validators.required],
        contacted: ['', Validators.required],
  
      });
  
    }
  </code></pre>