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) {
                      if (angular.isObject(module) && !angular.isArray(module)) {
                          modules.push(function($provide) {
                              angular.forEach(module, function(value, key) {
                                  $provide.value(key, value);
                              });
                          });
                      } else {
                          modules.push(module);
                      }
                  });
              }
          }
docs: ///////////////////