0

I have an Angular app that displays a list of players in different sets. Within each set I would like to display the list randomly each time. I am using an ng-repeat, how can I randomize them?

Controller: $scope.players = ["p1", "p2"];

Page: <dig ng-repeat="player in players">{{player}}<\div>

Orion
  • 139
  • 1
  • 10

0 Answers0