MCPcopy Create free account
hub / github.com/angular-ui/ui-grid / boundTranscludeFn

Function boundTranscludeFn

lib/test/angular/1.4.3/angular.js:7553–7565  ·  view source on GitHub ↗
(transcludedScope, cloneFn, controllers, futureParentElement, containingScope)

Source from the content-addressed store, hash-verified

7551 function createBoundTranscludeFn(scope, transcludeFn, previousBoundTranscludeFn) {
7552
7553 var boundTranscludeFn = function(transcludedScope, cloneFn, controllers, futureParentElement, containingScope) {
7554
7555 if (!transcludedScope) {
7556 transcludedScope = scope.$new(false, containingScope);
7557 transcludedScope.$$transcluded = true;
7558 }
7559
7560 return transcludeFn(transcludedScope, cloneFn, {
7561 parentBoundTranscludeFn: previousBoundTranscludeFn,
7562 transcludeControllers: controllers,
7563 futureParentElement: futureParentElement
7564 });
7565 };
7566
7567 return boundTranscludeFn;
7568 }

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected