Displaying a Model's Complete State Edit Page
TodoMVC strikes through completed todos by applying a CSS class completed to the <li> element. Update index.html to apply a CSS class to this element when a todo's isCompleted property is true:
This code will apply the CSS class completed when the todo's isCompleted property is true and remove it when the property becomes false.
The first fixture todo in our application has an isCompleted property of true. Reload the application to see the first todo is now decorated with a strike-through to visually indicate it has been completed.