title: how to remove this error NgFor only supports binding to Iterables such as Arrays
body: <p>I have a function in my component as</p>
  <pre class="lang-js prettyprint-override"><code>  missionSelected(event){
      this.category = event.option.value.children;
      console.log(this.category);
    }
  </code></pre>
  <p>This console log i am getting as:</p>
  <pre class="lang-js prettyprint-override"><code>    (3) [{…}, {…}, {…}]
  </code></pre>
  <p>But as i am using this variable in my template as:</p>
  <pre class="lang-html prettyprint-override"><code>    &lt;mat-list-option *ngFor=&quot;let cat of category&quot; [value]=&quot;cat&quot;&gt;
          &lt;div&gt;{{cat.name}}&lt;/div&gt;
      &lt;/mat-list-option&gt;
  </code></pre>
  <p>This one giving me error as:</p>
  <pre class="lang-js prettyprint-override"><code>    find a differ supporting object '[object Object]' of type 'object'.
  NgFor only supports binding to Iterables such as Arrays.
  </code></pre>
  <p>I tried to reinitialize the same object in array variable but i am getting same error. Many ways i tried but not getting proper solution.</p>
  <p><a href="https://i.stack.imgur.com/dJ5Y4.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/dJ5Y4.png" alt="adding console screenshot" /></a></p>