Welcome aboard! We are happy you are here and wish you good net-raft!
<!DOCTYPE html>
<html>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.4.8/angular.min.js"></script>
<style>
.striped {
color:white;
background-color:orange;
}
</style>
<body ng-app="myang">
<table ng-controller="mynote">
<tr>
<th>Tutorial</th>
</tr>
<tr ng-repeat="x in records" ng-class-even="'striped'">
<td>{{x.Lang}}</td>
</tr>
</table>
<script>
var app = angular.module("myang", []);
app.controller("mynote", function($scope) {
$scope.records = [
{
"Lang" : "Angular.js"
},
{
"Lang" : "Backbone.js"
},
{
"Lang" : "Javascript"
},
{
"Lang" : "jQuery"
}
]
});
</script>
</body>
</html>
The most helpful ANGULARJS solutions
How to get client ip address using angularjs ?ANGULARJS Click to see more ... 19.6K 2.8K