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

Function createBoundTranscludeFn

test/angular/1.3/angular.js:7149–7166  ·  view source on GitHub ↗
(scope, transcludeFn, previousBoundTranscludeFn, elementTransclusion)

Source from the content-addressed store, hash-verified

7147 }
7148
7149 function createBoundTranscludeFn(scope, transcludeFn, previousBoundTranscludeFn, elementTransclusion) {
7150
7151 var boundTranscludeFn = function(transcludedScope, cloneFn, controllers, futureParentElement, containingScope) {
7152
7153 if (!transcludedScope) {
7154 transcludedScope = scope.$new(false, containingScope);
7155 transcludedScope.$$transcluded = true;
7156 }
7157
7158 return transcludeFn(transcludedScope, cloneFn, {
7159 parentBoundTranscludeFn: previousBoundTranscludeFn,
7160 transcludeControllers: controllers,
7161 futureParentElement: futureParentElement
7162 });
7163 };
7164
7165 return boundTranscludeFn;
7166 }
7167
7168 /**
7169 * 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