Angular2 Update FormGroup nested value? : <p>I have this inside a component:</p>

<pre><code>private formBuilder: FormBuilder

...

signupForm: FormGroup;

...

this.signupForm = this.formBuilder.group({
  'name':             [null, Validators.required],
  'account':          this.formBuilder.group({
    'email':          [null, [Validators.required, ...]],
    'confirm_email':  [null, Validators.required],
  }, {validator: ValidationService.emailMatcher}),
  'password':         [null, [Validators.required,...]]
});
</code></pre>

<p>And I want to set the value for the email field. I tried this, but no luck:</p>

<pre><code>this.signupForm.patchValue({'email': 'myvalue@asd.com'});
</code></pre>

<p>But the value is nested, so whats the sintax in this case? I also tried:</p>

<pre><code>this.signupForm.patchValue({'account.email': 'myvalue@asd.com'});
</code></pre>

<p>Also searched here:</p>

<p><a href="https://angular.io/docs/ts/latest/api/forms/index/FormGroup-class.html#!#patchValue-anchor" rel="noreferrer">https://angular.io/docs/ts/latest/api/forms/index/FormGroup-class.html#!#patchValue-anchor</a></p>

<p>Thanks</p>
