<!DOCTYPE html>
<html>
<head>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.3.15/angular.min.js"></script>
<script>
var app = angular.module('ngRepeatApp', []);
app.controller('ngRepeatCtrl', function($scope) {
$scope.users = [{
Id: 1,
name: 'Anil Singh'
}, {
Id: 2,
name: 'Sunil Singh'
} ,{
Id: 3,
name: 'Sushil Singh'
}];
});
</script>
</head>
<body ng-app="ngRepeatApp">
<div ng-controller="ngRepeatCtrl">
<div>ID || Name </div>
<div ng-repeat="user in users">
<div style=" background-color : yellow">
<div>{{user.Id}} || {{user.name}}</div>
</div>
</div>
</div>
</body>
</html>
// Code goes here
/* Styles go here */