Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
  • looping list using ng-repeat

    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 244
    Comment on it

    Hi folks,

    The below example will demonstrate how to do looping over lists in templates using ng-repeat.

    <html ng-app="nameApp">
        <meta charset="utf-8">
        <title>Angular.js Example</title>
        <script src=""></script>
          var nameApp = angular.module('nameApp', []);
          nameApp.controller('NameCtrl', function ($scope){
            $scope.names = ['Evon', 'Technologes', 'Dehradun'];
      <body ng-controller="NameCtrl">
          <li ng-repeat="name in names">{{name}}</li>

 0 Comment(s)

Sign In

Sign up using

Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: