title: Angular 6 - Issue displaying data with *ngFor (data not showing)
body: <p>I have some data that looks like this:</p>
  
  <p><a href="https://i.stack.imgur.com/S0YyO.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/S0YyO.png" alt="enter image description here"></a></p>
  
  <p>On my <code>app.component.html</code> I have this:</p>
  
  <pre><code>&lt;ul&gt;
    &lt;li *ngFor="let data of myData"&gt;{{data.id}}&lt;/li&gt;
  &lt;/ul&gt;
  </code></pre>
  
  <p>When I run this it show the lists but without any values so I just get lots of dots from the <code>&lt;li&gt;</code></p>
  
  <p>On my <code>app.component.ts</code> I have:</p>
  
  <pre><code>myData;
  </code></pre>
  
  <p>and then:</p>
  
  <pre><code>this.myData = obj; // Obj contains the data
  </code></pre>
  
  <p>How can I fix this?</p>