title: Error NgFor only supports binding to Iterables such as Arrays
body: <p>Please note that other questions about the same error didn't help because I'm using different way to get the data.</p>
  
  <p>I want to get some data from the API and show them in the page using <code>Angular</code>.
  The http request will get an array of projects.
  so here is the <code>projects.component.ts</code>:</p>
  
  <pre><code>import { Component, OnInit } from '@angular/core';
  import { HttpClient } from '@angular/common/http';
  
  interface Project {
  
      alias:Array&lt;string&gt;;
      apps:Array&lt;string&gt;;
      description: string;
      id:string;
      name:string;
  
  }
  
  @Component({
    selector: 'app-projects',
    templateUrl: './projects.component.html',
    styleUrls: ['./projects.component.css']
  })
  
  
  export class ProjectsComponent {
  
  
  
      title:string = "Projects";
      dataProjects: Array&lt;Project&gt;;
  
      constructor(private httpClient:HttpClient){  }
  
      getProjects() {
      this.httpClient.get&lt;Array&lt;Project&gt;&gt;("http://company.com/v1/api/projects")
      .subscribe(  data  =&gt; { this.dataProjects = data; } )
    }
  
  }
  </code></pre>
  
  <p>and here is the view in projects.component.html:</p>
  
  <pre><code>  &lt;tbody&gt;
      &lt;tr *ngFor="let proj of dataProjects"&gt;
        &lt;td&gt; {{ proj.name }}  &lt;/td&gt;
        &lt;td&gt;{{ proj.description }}  &lt;/td&gt;
      &lt;/tr&gt;
    &lt;/tbody&gt;
  </code></pre>
  
  <p>This is the error I get:</p>
  
  <pre><code>Cannot find a differ supporting object '[object Object]' of type 'object'. NgFor only supports binding to Iterables such as Arrays.
  </code></pre>
  
  <p>How to return an array of Projects ? </p>
  
  <p>EDIT:</p>
  
  <p>Example of output of the API:</p>
  
  <pre><code>{
    "results": [
      {
        "alias": [
          "project"
        ], 
        "apps": [], 
        "description": "Applications natives", 
        "id": "project", 
        "name": "project"
      }
    ]
  }
  </code></pre>