Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialAmit Singh
Courses Plus Student 224 Pointsng-repeat not working
<body ng-app="todoListApp">
<h1>My ToDos</h1>
<div ng-controller="mainCtrl" class="list">
<div ng-repeat:"todo in todos">
<input ng-model="todo.completed" type="checkbox"/>
<label ng-hide="editing" class="editing-label" ng-click="helloWorld()">{{todo.name}}</label>
<input ng-blur="editing= false;" ng-show="editing" ng-model="todo.name" class="editing-label" type="text"/>
<div class="actions">
<a href="" ng-click=" editing = !editing">Edit</a>
<a href="" ng-click="helloWorld()">Save</a>
<a href="" class="delete">Delete</a>
</div>
</div>
</div>
```
1 Answer
Joel Bardsley
31,246 PointsYou're using a colon after ng-repeat instead of an equals symbol, i.e:
<div ng-repeat="(key, value) in myObj"> ... </div>