Define todo controller with isCompleted computed property and modify todos template to use todo controller for each item in todos