title: case insensitive search in angular js
body: <p>I have below code for filter list in angular js, with the pagination of 10 records per page.It gives the proper result but the result is case sensitive. I want it case insensitive. I have tried some solution from SO but the didn't work so I'm posting tis question.</p>
  
  <p>HTML code:</p>
  
  <pre><code> &lt;input type="search" name="search" placeholder="Search for members in first name,last name and email" ng-model="query"  class="form-control input-box"&gt;
  
      &lt;tr ng-repeat="item in filterData = (totalItems| filter : search) | limitTo:10:10*(page-1)" ng-cloak&gt; &lt;/tr&gt;
  </code></pre>
  
  <p>JS Code:</p>
  
  <pre><code>$scope.search = function (row) {
  
      return !!(( row.member_fname.indexOf($scope.query || '') !== - 1  || row.member_lname.indexOf($scope.query || '') !== - 1 || row.member_email.indexOf($scope.query || '') !== - 1));
      };
  </code></pre>