title: How to get the last element of an array in Angular2 template WITHOUT LOOPING EVERYTHING?
body: <p><strong>This question is not asking how to get access to looping variables like i, first, last but how to retrieve and set variable as TEMPLATE VARIABLES.</strong></p>
  
  <hr>
  
  <p>This is not working...</p>
  
  <pre><code>&lt;div #lastElement="arr[arr.length-1]"&gt;&lt;/div&gt;
  </code></pre>
  
  <p>So I actually need to create a local variable in component then bind it directly?</p>
  
  <p>I feel lots of stuff I can do it with ng-* directives in the past are all required to hardcode in Component... Kind of degrading tbh</p>