function systemModule(name,wrap) {
    name = name.replace(/\.js$/,'');
    var mod = system.assets.modules[name];
    if (mod) {
      var code = wrap===false? mod.content: ss.bundler.wrapModule(name, mod.content);
      return {
        file: mod.name,
        name: mod.name,
        path: mod.path,
        dir: mod.dir,
        content: code,
        options: mod.options,
        type: mod.type,
        includeType: 'system'
      };
    }
  }
@ngdoc service
@name ss.bundler:bundler
@function

@description
Client bundling API
-----------
Client bundling API for implementing a custom bundler.