title: Angular 2 form returns empty value
body: <p>I have this simple form in Angular 2. I want to get the email and pass but I get an empty object.</p>
  
  <p>login.component.html</p>
  
  <pre><code>&lt;div class="container"&gt;
    &lt;form #formData='ngForm' (ngSubmit)="onSubmit(formData)"&gt;
      &lt;div class="form-group row"&gt;
        &lt;label for="inputEmail" class="col-sm-2 col-form-label"&gt;Email&lt;/label&gt;
        &lt;div class="col-sm-10"&gt;
          &lt;input type="email" class="form-control" id="inputEmail" placeholder="Email" (ngModel)="email" required&gt;
        &lt;/div&gt;
      &lt;/div&gt;
      &lt;div class="form-group row"&gt;
        &lt;label for="inputPassword" class="col-sm-2 col-form-label"&gt;Password&lt;/label&gt;
        &lt;div class="col-sm-10"&gt;
          &lt;input type="password" class="form-control" id="inputPassword" placeholder="Password" (ngModel)="password" required&gt;
        &lt;/div&gt;
      &lt;/div&gt;
      &lt;div class="form-group row"&gt;
        &lt;div class="offset-sm-2 col-sm-10"&gt;
          &lt;button type="submit" class="btn btn-primary" [disabled]="!formData.valid"&gt;Sign in&lt;/button&gt;
          &lt;a routerLink="/signup"&gt;Don't have an account?&lt;/a&gt;
        &lt;/div&gt;
      &lt;/div&gt;
    &lt;/form&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>auth.component.ts</p>
  
  <pre><code>@Component({
    templateUrl: 'app/auth/login.component.html'
  })
  onSubmit(formData) {
        console.log(formData.value);
    }
  </code></pre>