chore(todo-demo): use ngSwitch for edit/view stuff