lib/angoose.js
function generateClient(){
    logger.debug("Generating angoose client file: ");
    var bundle = new Bundle();
    var client = {};
    bundle.generateClient(client);
    var filename = angoose.config()['client-file'];
    writeToFile(filename, client.source)
    //compressFile(filename, client.source);
    logger.info("Generated  angoose client file: ", filename);
    return client.source;
}
function generateClient(){
    logger.debug("Generating angoose client file: ");
    var bundle = new Bundle();
    var client = {};
    bundle.generateClient(client);
    var filename = angoose.config()['client-file'];
    writeToFile(filename, client.source)
    //compressFile(filename, client.source);
    logger.info("Generated  angoose client file: ", filename);
    return client.source;
}
** geneateClient() **  Generates the client file to be served as the contents of resource `/angoose/angoose-client.js`