Welcome to the Treehouse Community
The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

Andrew Gursky
12,576 PointsEverything works except that when I complete or uncomplete a task it doesn't persist.
When I add or edit the name of a todo it works perfectly, but checking the box doesn't persist even after I save and reload the page. I can see that the ng-click function on those checkboxes changes the todo state to todo.edited = true, so the put request should apply to it, but it's not. Anybody have any insights?

Andrew Gursky
12,576 PointsI'm sorry. For some reason when I post a question in the forum I'm working in, it instead posts it in general and just asks for a category. Not doing it on purpose. I mean to post in the course. I actually figured it out. But thanks for pointing out what seemed like a mistake. I'll contact support.
1 Answer

Peter Vann
36,242 PointsAndrew,
If I understand your issue correctly, I believe I encountered the same problem.
In your /templates/todo.html file, if the top line contains:
ng-init="todo.completed = false"
Edit/comment that section of code out of the file.
That's what clobbers the actual 'completed' values from the get response.
I hope that helps.
-Pete
Steven Parker
220,450 PointsSteven Parker
220,450 PointsPlease show the code and provide a link to the course page you are working with.