title: Angular.js: filter ng-repeat by absence in array
body: <p>I need to filter items in ng-repeat so that only the items which not appear in alreadyAddedValues() array will be shown:</p>
  
  <pre><code>&lt;ul class="dropdown-menu"&gt;
      &lt;li ng-repeat="v in values() | filter: { ????? } "&gt;{{value.name}}&lt;/li&gt;
  &lt;/ul&gt;
  
  $scope.values() = function(){
      ................
  }
  
  $scope.alreadyAddedValues() = function()
  {
      //returns an array
  }
  </code></pre>
  
  <p>The search of an already added value should perform by <code>value.shortName</code></p>