var app = angular.module('plunker', []);
app.controller('MainCtrl', function($scope) {
$scope.options = [];
for (var i = 1; i <= 10; i++) {
$scope.options.push({
name: 'Tag ' + i,
isSelected: false
});
}
});
<!DOCTYPE html>
<html ng-app="plunker">
<head>
<meta charset="utf-8" />
<title>AngularJS Plunker</title>
<script>
document.write('<base href="' + document.location + '" />');
</script>
<link rel="stylesheet" href="style.css" />
<script data-require="angular.js@1.3.x" src="//code.angularjs.org/1.3.1/angular.js" data-semver="1.3.1"></script>
<script src="app.js"></script>
</head>
<body ng-controller="MainCtrl">
<div ng-repeat="option in options | orderBy:'-isSelected'">
<label>
<input type="checkbox" ng-model="option.isSelected"> {{option.name}}
</label>
</div>
</body>
</html>
/* Put your css in here */