MCPcopy
hub / github.com/angular-ui/ui-router / invokeLaterAndSetModuleName

Function invokeLaterAndSetModuleName

test/angular/1.7/angular.js:2614–2621  ·  view source on GitHub ↗

* @param {string} provider * @param {string} method * @returns {angular.Module}

(provider, method, queue)

Source from the content-addressed store, hash-verified

2612 * @returns {angular.Module}
2613 */
2614 function invokeLaterAndSetModuleName(provider, method, queue) {
2615 if (!queue) queue = invokeQueue;
2616 return function(recipeName, factoryFunction) {
2617 if (factoryFunction && isFunction(factoryFunction)) factoryFunction.$$moduleName = name;
2618 queue.push([provider, method, arguments]);
2619 return moduleInstance;
2620 };
2621 }
2622 });
2623 };
2624 });

Callers 1

setupModuleLoaderFunction · 0.70

Calls 1

isFunctionFunction · 0.70

Tested by

no test coverage detected