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

Function createBoundTranscludeFn

lib/test/angular/1.4.3/angular.js:7551–7568  ·  view source on GitHub ↗
(scope, transcludeFn, previousBoundTranscludeFn)

Source from the content-addressed store, hash-verified

7549 }
7550
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 }
7569
7570 /**
7571 * 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