title: Angularjs Filter On Object Property If Object Not Null
body: <p>I am trying to do the following:</p>
  
  <pre><code>&lt;div class="row" ng-repeat="user in ctr.users | filter:{entity.name:filterEntityName}" &gt;
  </code></pre>
  
  <p>...however, some of the users have null entities. How can I filter on the entity name only when the entity exists?</p>