title: angular ng-repeat with condition
body: <p>How do you do something like this in angular with ng-repeat?
  I'll be using the example from the documentation which inits an array with 2 friends, what if I wanted to only do a repeat for all friends that are 26 and older?</p>
  
  <pre><code>    &lt;!doctype html&gt;
  &lt;html ng-app&gt;
  &lt;head&gt;
  &lt;script src="http://code.angularjs.org/1.0.6/angular.min.js"&gt;&lt;/script&gt;
  &lt;/head&gt;
  &lt;body&gt;
  &lt;div ng-init="friends = [{name:'John', age:25}, {name:'Mary', age:28}]"&gt;
  I have {{friends.length}} friends. They are:
  &lt;ul&gt;
  &lt;li ng-repeat="friend in friends"&gt;
  [{{$index + 1}}] {{friend.name}} who is {{friend.age}} years old.
  &lt;/li&gt;
  &lt;/ul&gt;
  &lt;/div&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>