Implement two way contenteditable binding on todo directive