title: Angular js comparison
body: <p>I have a condition that needs to be checked in my view: If any user in the user list has the same name as another user, I want to display their age. </p>
  
  <p>Something like</p>
  
  <pre><code>&lt;div ng-repeat="user in userList track by $index"&gt;
   &lt;span class="fa fa-check" ng-if="user.isSelected"&gt;&lt;/span&gt;{{user.firstName}} &lt;small ng-if="true"&gt;{{'AGE' | translate}} {{user.age}}&lt;/small&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>except I'm missing the correct conditional</p>