Angular: Random Order Filter
http://angularjs.org/
HTML
<script src="//ajax.googleapis.com/ajax/libs/angularjs/1.2.26/angular.min.js"></script>
<div ng-controller="MyCtrl">
<p ng-repeat="i in list|orderBy:random">{{i.nome}}</p>
</div>
JavaScript
var myApp = angular.module('myApp',[]);
//myApp.directive('myDirective', function() {});
//myApp.factory('myService', function() {});
function MyCtrl($scope) {
$scope.list = ['a', {nome:'baa'}, {nome:'c'}, 'd', 'e', 'f', 'g'];
$scope.random = function() {
return 0.5 - Math.random();
}
}