code: function workFn() {
        if (currentSpec.$injector) {
          throw Error('Injector already created, can not register a module!');
        } else {
          var modules = currentSpec.$modules || (currentSpec.$modules = []);
          angular.forEach(moduleFns, function(module) {
            modules.push(module);
          });
        }
      }
docs: ///////////////////