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

Function boundTranscludeFn

test/angular/1.4/angular.js:7986–7998  ·  view source on GitHub ↗
(transcludedScope, cloneFn, controllers, futureParentElement, containingScope)

Source from the content-addressed store, hash-verified

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 }

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected