added todo controller and checkbox to update isCompleted property of the todo in the template