I am a bit new to AngularJS and am having problems getting more than one filter to work together. I have a collection of ~100 Project objects. I want to select the 10 most recent "projects" ascending. I have the following code:
<tr ng-repeat="project in projects | orderBy:'Timestamp' | limitTo:10 ">
<td>{{project.Poster}}</td>
<td>{{project.Message}}</td>
</tr>
The above displays all projects ordered by Timestamp, but does not limit number of projects displayed.
What am I doing wrong?