src/angular-model.js
function ModelClassFactory(name, options) {
        if (!isUndef(options)) {
          return config(name, options);
        }
        return registry[name] || undefined;
      }
function ModelClassFactory(name, options) {
        if (!isUndef(options)) {
          return config(name, options);
        }
        return registry[name] || undefined;
      }
function ModelClassFactory ( name , options ) { if ( ! isUndef ( options ) ) { return config ( name , options ) ; } return registry [ name ] || undefined ; }
Adds, gets, or updates a named model configuration
Adds gets or updates a named model configuration