lib/angoose.js
function lookupOrRegister(name, target){
    if(arguments.length == 0) return null;
    if(arguments.length == 1) return getClass(name);
    if(arguments.length == 2) return registerClass(name, target);
}
function lookupOrRegister(name, target){
    if(arguments.length == 0) return null;
    if(arguments.length == 1) return getClass(name);
    if(arguments.length == 2) return registerClass(name, target);
}
** module(name, function_or_object) **  Retrieve an Angoose module or register one  If only one argument, name is provided, returns the registered module with that name. This form is same as `angoose.getClass()`  If two arguments are provided, register the function/object as Angular module under that name.