docs: function setDefaults(scope, defaults) {
          if (!defaults) { return; }
  
          // store defaults for use in generateRemodel
          scope.defaults = defaults;
  
          for (var name in defaults) {
              if (defaults.hasOwnProperty(name) && scope[name] === undefined) {
                  scope[name] = defaults[name];
              }
          }
      }