title: How to set value for dynamically generated form using angular 4
body: <p>I have angular 4 form which is generated dynamically using the configuration(JSON) file. And i want to set the value for input field while choosing the selectbox option.</p>
  
  <p>I have created the sample code in <code>stackblitz</code>. </p>
  
  <p><a href="https://stackblitz.com/edit/angular-dnhcd1?file=src/app/dynamic-form-component.ts" rel="nofollow noreferrer">https://stackblitz.com/edit/angular-dnhcd1?file=src/app/dynamic-form-component.ts</a></p>