title: angular.js: Use ng-hide or ng-show to hide last two elements of JSON data
body: <p>I am using in my HTML:</p>
  
  <pre><code>&lt;div ng-repeat="item in items" ng-show="!$last"&gt;
      &lt;div&gt;{{ item.value }}&lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>..to hide the last element of a mongodb document (aka JSON data). All other elements of the JSON data gets printed out as expected.</p>
  
  <p>Now how can I hide the last two members of my json data, or alternatively hide by key name, e.g. "__v" and "_id" should be hidden from the user.</p>