Angular: Random Order Filter
http://angularjs.org/
HTML
<script src="http://code.angularjs.org/angular-1.0.1.js"></script>
<div ng-controller="MyCtrl">
<p>Select The correct Answer</p>
<p ng-repeat="(key,i) in options"><input type="radio" name="option"> {{options[key].text}}</p>
<button>Submit</button>
<br><br>
<p>* The correct answer is Answer-a</p>
</div>
JavaScript
var myApp = angular.module('myApp',[]);
function MyCtrl($scope) {
$scope.options = {
"d":{
"text":"Answer-d"
},
"c":{
"text":"Answer-c"
},
"a":{
"text":"Answer-a"
},
"b":
{"text":"Answer-b"}
}
}