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

Function boundTranscludeFn

test/angular/1.3/angular.js:7151–7163  ·  view source on GitHub ↗
(transcludedScope, cloneFn, controllers, futureParentElement, containingScope)

Source from the content-addressed store, hash-verified

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 }

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected