title: Using Slice Pipe with variable parameters in *ngFor
body: <p>Using the Angular2 pipe <code>slice</code> I can do something like this to only show the first five elements of my <code>items</code>.</p>
  
  <pre><code>&lt;ion-item *ngFor='let item of items | slice:0:5"&gt;
  </code></pre>
  
  <p>How can I use variables instead of hardcoding 0 and 5? I want to do something like this and define <code>start</code> and <code>end</code> in my *.ts file.</p>
  
  <pre><code>&lt;ion-item *ngFor='let item of items | slice:"start":"end"'&gt;
  </code></pre>