docs: function complete(todo) {
              vm.error = undefined;
              service.complete(todo, function() {
                  _fetch();
              }, function() {
                  vm.error = 'An error occurred when completing a todo';
              });
          }