title: How can i limit ngFor in Angular HTML?
body: <p>i need to ngFor with limit 4 items, but if data &lt; 4, i need to force to loop until 4</p>
  
  <p><a href="https://i.stack.imgur.com/0nmdj.png" rel="nofollow noreferrer">Example at this</a></p>
  
  <pre><code>&lt;img *ngFor="let item of [1,2,3,4]"
      src="assets/images/no-image.jpg"
      style="border-radius: 50%; height:90%;" /&gt;
  </code></pre>