title: FormGroup return a empty string
body: <p>I'm doing a project in angular I'm using the FormGroup to get the value of an input but it always returns an empty value (&quot;&quot;)</p>
  <p>html:</p>
  <pre><code>          &lt;input formControlName=&quot;message&quot; type=&quot;text&quot;&gt;
            &lt;button (click)=&quot;login()&quot; type=&quot;button&quot;&gt;Publicar&lt;/button&gt;
          &lt;/form&gt;
  </code></pre>
  <p>TS:</p>
  <pre><code>  data = {
      formgroup: new FormGroup({
        message: new FormControl(&quot;&quot;)
      })
    }
  
  
    login() {
      console.log(this.data.formgroup.controls.login);
      console.log(this.data.formgroup.controls);
      console.log(this.data.formgroup);
    }
  </code></pre>