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 trialMatthew Gomez
395 Pointstheres seems to be a video missing before this one.
what happened to the video before this one. there seems to be a leap here.
2 Answers
Christian Carey
15,445 PointsMake sure that you've put 'class="item"' into the div that contains the ng-repeat directive. The CSS that isn't showing is being applied to the item class.
Allison Walker
17,137 PointsYes, in addition to the CSS, I noticed that the order of the h1 and the first div have changed since the last video.
Bappy Golder
13,449 PointsYou need to get the h1
outside the mainCtrl
like this:
<h1 ng-click="helloWorld()">My TODOs</h1>
<div ng-controller="mainCtrl"
class="list">
<div ng-repeat="todo in todos"
...