I am trying to render a html table with a list populated from my controller. This is what I am doing:
//Home Controller app.controller("HomeController", function ($scope, $location, ExamService, AuthenticationService, $cookieStore) { $scope.items = '[{"id":"1","title":"Test 1","description":"this is a description"}]'; }); and in the page:
<table class="table" ng-controller="HomeController"> <th>Id</th> <th>Title</th> <th>Description</th> <tr ng-repeat="item in items"> <td>{{item.id}}</td> <td>{{item.title}}</td> <td>{{item.description}}</td> </tr> </table> However this generates as a blank table with 109 tr nodes...what I am doing wrong? please help