code: function amdWrap(factoryCode, deps) {
          var deps = deps.map(function (dep) {
              return "'" + dep + "'";
          });
          return AMD_TEMPLATE.START +
              deps.join(',') +
              AMD_TEMPLATE.MIDDLE +
              factoryCode +
              AMD_TEMPLATE.END;
      }
docs: Wrap a factory with an AMD loader.