adds a fourth parameter to the orderBy filter to halt ordering
bower install angular-orderby-ignore --save
angular.module('yourModule', [ 'angular.orderby.ignore' ]);
/** in controllers (etc) **/
app.controller(function ($scope, orderByFilter) {
var data = [];
var ignore = true;
var predicate = 'prop';
$scope.exposedData = orderByFilter(data, predicate, null, ignore);
});
<!-- in the view -->
<div ng-repeat="d in data | orderBy:predicate:reverse:ignore"></div>
npm install; npm test
MIT © Kasper Lewau