title: How to clear the FormArray values in angular reactive form?
body: <p>Here, I want to make the FormArray's length zero. (it is mentioned that everything works fine with this form)</p>
  
  <pre><code>profileForm: FormGroup;
  
  ngOnInit() {
     this.profileForm = new FormGroup({
        nod_title: new FormControl(),
        nod_subtitle: new FormControl(null),
        nod_name: new FormControl(null),
        nod_occupation: new FormControl(null),
        nod_description: new FormControl(null),
        nod_tags: new FormArray([new FormControl('hello'), new FormControl('world')]),
      });
    }
  
   resetTags() {
     if (this.profileForm.value.nod_tags.length) {   // here I tried
       this.profileForm.value.nod_tags.clear();
       console.log(this.profileForm.value.nod_tags)
   }
  
  </code></pre>
  
  <pre><code>&lt;button type="button" (click)="resetTags()"&gt; Reset taggs &lt;/button&gt;
  </code></pre>
  
  <p>here, I want to empty the nod_tags value and console.log() should return an empty array.</p>