MCPcopy Index your code
hub / github.com/angular-ui/ui-router / createBoundTranscludeFn

Function createBoundTranscludeFn

test/angular/1.4/angular.js:7984–8001  ·  view source on GitHub ↗
(scope, transcludeFn, previousBoundTranscludeFn)

Source from the content-addressed store, hash-verified

7982 }
7983
7984 function createBoundTranscludeFn(scope, transcludeFn, previousBoundTranscludeFn) {
7985
7986 var boundTranscludeFn = function(transcludedScope, cloneFn, controllers, futureParentElement, containingScope) {
7987
7988 if (!transcludedScope) {
7989 transcludedScope = scope.$new(false, containingScope);
7990 transcludedScope.$$transcluded = true;
7991 }
7992
7993 return transcludeFn(transcludedScope, cloneFn, {
7994 parentBoundTranscludeFn: previousBoundTranscludeFn,
7995 transcludeControllers: controllers,
7996 futureParentElement: futureParentElement
7997 });
7998 };
7999
8000 return boundTranscludeFn;
8001 }
8002
8003 /**
8004 * Looks for directives on the given node and adds them to the directive collection which is

Callers 2

compositeLinkFnFunction · 0.70
compileTemplateUrlFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected