title: How can I create a form dynamically and submit it in Angular 7?
body: <p>I need to first call a API get some values put in my form then submit it. I like to avoid having a form with hidden inputs and want to create it on the fly. My pseudo code</p>
  
  <pre><code>submitMyform() {
    //first i call an API and get some data
    var mydata = this.http.get()...
  
   this.signForm = new FormGroup({
    'Name': new FormControl(mydata.name),
    'Age': new FormControl(mydata.age)   
   });
  
    this.signForm.submit() //Wished this method existed
  }
  </code></pre>
  
  <p>I want my browser to redirect to the page I am submitting the form to.</p>
  
  <p>EDIT: Sorry..! My concerns was mostly how to submit this form. Not to get the data and populate the form. My code was just a template.. It is the this.signForm.submit() method I am missing</p>