Articles → ANGULAR.JS → Ng-Repeat In Angular.JS

Ng-Repeat In Angular.JS







<html_element ng-repeat=”object_name in array”> {{object_name}} </html_element>



Example




<div ng-app="" ng-init="fruits=['Orange','Banana','Apple']">
	<p ng-repeat="fruit in fruits"> {{fruit}} </p>
</div>





Output


Picture showing the output of ng-repeat in angular.js

Click to Enlarge


Posted By  -  Karan Gupta
 
Posted On  -  Wednesday, May 27, 2015

Query/Feedback


Your Email Id  
 
Subject 
 
Query/FeedbackCharacters remaining 250