title: How to use ng-if and ng-options together in angular 1
body: <p>I used below syntax to display username. I want to display username when <code>(user.company==userData.company)</code> in the below list. Please help me to achieve this.</p>
  
  <pre><code>&lt;select ng-options="user.FirstName+' 'user.LastName for user in companyUsers | orderBy:'FirstName' track by user.Id" ng-if="user.company==userData.company" ng-model="selectedUser" ng-change="loadListNew()"&gt;
  &lt;/select&gt;
  </code></pre>