title: Angular Reactive Form How to Store JSON data?
body: <p>how to store json data with angular reactive form , in form control .</p>
  
  <p>for example </p>
  
  <pre><code>json coming from server  = [{
  ctrlname : controlName1,
  type : "Link",
  unit:"M"
  
  },{
  ctrlname : controlName2,
  type : "Date",
  unit:"L"
  
  }]
  </code></pre>
  
  <p>// making FormGroup</p>
  
  <pre><code>  let a = new formGroup({
      controlName1 : new FormControl(''),
      controlName2 : new FormControl(''),
      })
  </code></pre>
  
  <p>i want to store <strong>type,unit</strong> property also with formcontrol so how can i do it ? when making formgroup with formcontrol?</p>
  
  <p><strong>so when i get the value of formcontrol like this.myformgroup.controls['controlName1'] so i can get the unit and type also from this ? so how to store unit and type json while making the formcontrol</strong> </p>