title: Angularjs limitTo not working in ng-repeat
body: <p>I am retrieving a search query from php mysql into my angularjs app. The results are in the following format:<img src="https://i.stack.imgur.com/JpWCc.jpg" alt="enter image description here"></p>
  
  <p>This object is then displayed in my angularjs app and displayed using ng-repeat. The thing is I would like to limit the results to 10 only. However for some reason it does not work. I did find a possible solution <a href="https://stackoverflow.com/questions/20350240/angularjs-ngrepeat-not-respecting-limitto-filter">limiTo not working</a>. Here it states LimitTo does not work if it is an object in an object. If this is the solution how would I convert srchResults to an object in an array in javascript?? If it is not what would be the issue?</p>
  
  <p>I'm using Angular 1.3.11.</p>
  
  <p>My code:</p>
  
  <pre><code>&lt;md-list-item class="md-3-line" ng-repeat="result in srchResults|limitTo:10" &gt;
      &lt;div class="md-list-item-text" ng-click= "getEmployee(result.employee_id)"&gt;
          &lt;h3&gt;{{result.last_name}}, {{result.first_name}}&lt;/h3&gt;
          &lt;h4&gt;{{result.name}}&lt;/h4&gt;
          &lt;p&gt;{{result.fk_cs_type}}, {{result.is_active==1?"Active":"In-Active"}}&lt;/p&gt;
          &lt;md-divider ng-if="!$last"&gt;&lt;/md-divider&gt;
      &lt;/div&gt;
  &lt;/md-list-item&gt;
  </code></pre>