title: How to set form data in Angular form through ts file
body: <p>I have one component AlertpopupComponent in which have one form like this</p>
  <pre><code>`alertForm=this.fb.group({
  emailAlert:[null],
  alertType:[null]
  });`
  </code></pre>
  <p>I have another component dashboardComponent in which I have table, I want to set alertpopComponent form data for each row in table.
  alertPopupContent=AlertpopupComponent;
  My question is that how to set Data in alertPopupContent?</p>