code: function () {
            var self = this;
            var ref = self.$ref();
            var data = $wilddogUtils.toJSON(self);
            return $wilddogUtils.doSet(ref, data).then(function() {
              self.$$notify();
              return self.$ref();
            });
          }
docs: Saves all data on the WilddogObject back to Wilddog.
  @returns a promise which will resolve after the save is completed.