title: How to limit number of items to get displayed in ngFor?
body: <p>I want the display only the first 3 items from a list using <code>*ngFor</code></p>
  
  <p>On my component,</p>
  
  <pre><code>formInputs: any = [
  {name:'foo'},
  {name: 'bar'},
  {name: 'buzz},
  {name: 'dhsfk'},
  {name: 'sadsd'}
  ]
  </code></pre>
  
  <p>On my template,</p>
  
  <pre><code>&lt;div class="form-group label-floating" *ngFor="let input of formInputs"&gt;
  {{input.name}}
  &lt;/div&gt;
  </code></pre>
  
  <p>And note that, I want to apply the change only in the template itself not in the component.</p>