Try it
Javascript
Jquery
Angular
Learn Angular
Learn Javascript
Learn Bootstrap
Learn jQuery
NgRepeat-Properties
<!DOCTYPE html> <html lang="en-US"> <head> <title>Welcome in the Angular JS</title> <script src="http://ajax.googleapis.com/ajax/libs/angularjs/1.4.0-rc.1/angular.min.js"></script> </head> <body ng-app="sampleApplication"> <div ng-controller="sampleController" > <div ng-repeat="emp in employees"> <div>Name : {{emp.name}} Age : {{emp.age}}</div> <div>Index : {{$index}}</div> <div>First : {{$first}}</div> <div>Middle : {{$middle}}</div> <div>Last : {{$last}}</div> <div>Even : {{$even}}</div> <div>Odd : {{$odd}}</div> </div> </div> <script> var app = angular.module("sampleApplication", []); app.controller("sampleController", function($scope) { $scope.employees = [{ name: "Bogart", age: "25" }, { name: "Watson", age: "34" }, { name: "Browne", age: "27" }, { name: "Broun", age: "25" }]; }); </script> </body> </html>
Output
×
Save This try
Title
Description