How would you order a list of items in AngularJS in random order? I was thinking that the built-in orderBy
filter would work but I'm not sure how without adding some additional data to the model. Something like would be great.
item in items | orderBy:random
My next thought was to create a custom filter but I'd prefer to avoid that if there is something better already available.