<html ng-app="">    
<head>  <!-- www.w3tr.com -->  
<title>angular.forEach Örnek</title>    
<script SRC="https://ajax.googleapis.com/ajax/libs/angularjs/1.2.13/angular.js">    
</script>    
    
</head>    
<body bgcolor="#ccc">  
<fieldset>  
<legend>angular.forEach Örnek</legend>  
  
<script>       
  var values = [{isim: 'Ahmet', cinsiyet: 'erkek'},{isim: 'Samed', cinsiyet: 'erkek'},{isim: 'Aycan', cinsiyet: 'erkek'}];
  angular.forEach(values, function(value, key) {
  document.write(value.isim);
  document.write("</br>");
  });
</script>  
  
</fieldset>  
</body>    
</html>

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

  1. //cdnjs.cloudflare.com/ajax/libs/angular.js/1.5.2/angular.min.js