title: no provider for ngControl [FormControl] Angular 6
body: <p>I am learning Angular. While the official tutorial has worked quite well for me, I am stuck with the 'hello world' of Reactive Forms. I am following <a href="https://angular.io/guide/reactive-forms" rel="noreferrer">https://angular.io/guide/reactive-forms</a>. I have created a new component, in an other wise working project, to make an input text box using ReactiveForm. The template html is as follows:</p>
  
  <pre><code>    &lt;div&gt;
          &lt;label&gt;
            Name:
            &lt;input type="text" [formControl]="name"&gt;
          &lt;/label&gt;
      &lt;/div&gt;
  </code></pre>
  
  <p>The component class looks as follows</p>
  
  <pre><code>import { Component, OnInit } from '@angular/core';
  import {FormControl} from '@angular/forms';
  
  @Component({
    selector: 'app-party-worker',
    templateUrl: './party-worker.component.html',
    styleUrls: ['./party-worker.component.scss']
  })
  export class PartyWorkerComponent implements OnInit {
    name = new FormControl('');
    constructor() { }
    ngOnInit() {
    }
  }
  </code></pre>
  
  <p>The error in the browser reads something like this.</p>
  
  <pre><code>Uncaught Error: Template parse errors:
  No provider for NgControl ("
      &lt;label&gt;
        Name:
        [ERROR -&gt;]&lt;input type="text" [formControl]="name"&gt;
      &lt;/label&gt;
    &lt;/div&gt;"): ng:///ViewsModule/PartyWorkerComponent.html@3:6
  </code></pre>
  
  <p>And yes, I have imported ReactiveFormsModule. My angular version, if it is revealed by <code>ng --version</code> is as follows</p>
  
  <pre><code>Angular CLI: 7.0.5
  Node: 11.1.0
  OS: darwin x64
  Angular:
  ...
  
  Package                      Version
  ------------------------------------------------------
  @angular-devkit/architect    0.10.5
  @angular-devkit/core         7.0.5
  @angular-devkit/schematics   7.0.5
  @schematics/angular          7.0.5
  @schematics/update           0.10.5
  rxjs                         6.3.3
  typescript                   3.1.6
  </code></pre>
  
  <p>I fail to understand as to what is it that I am doing wrong. Any help is appreciated.</p>