title: Angular - How do I loop table rows?
body: <p>I want to loop my table for a constant 10 rows. If my array has only 5 items , it has to have the remaining 5 rows with empty value.</p>
  
  <p>This is how I output my table:</p>
  
  <pre><code>&lt;tr *ngFor="let item of items"&gt;
       &lt;td&gt;{{item.id}}&lt;/td&gt;
       &lt;td&gt;{{item.name}}&lt;/td&gt;
       &lt;td&gt;{{item.desc}}&lt;/td&gt;
  &lt;/tr&gt;
  </code></pre>
  
  <p>How do I make sure it always has 10 rows?
  Please help, thank you!</p>