How to loop elements in Angular Js

 Posted by Chvrsri on 3/18/2016 | Category: AngularJS 1x Interview questions | Views: 1935 | Points: 40

Below is the procedure to loop through data in Angular JS

<div data-ng-app="" data-ng-init="names=['DotnetFunda','TechFunda','SQLFunda','ITFunda']">

<b>Loop Example:</b>
<br />
<li data-ng-repeat="x in names">
{{ x }}

Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response