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

Function boundTranscludeFn

lib/test/angular/1.8.0/angular.js:9936–9948  ·  view source on GitHub ↗
(transcludedScope, cloneFn, controllers, futureParentElement, containingScope)

Source from the content-addressed store, hash-verified

9934
9935 function createBoundTranscludeFn(scope, transcludeFn, previousBoundTranscludeFn) {
9936 function boundTranscludeFn(transcludedScope, cloneFn, controllers, futureParentElement, containingScope) {
9937
9938 if (!transcludedScope) {
9939 transcludedScope = scope.$new(false, containingScope);
9940 transcludedScope.$$transcluded = true;
9941 }
9942
9943 return transcludeFn(transcludedScope, cloneFn, {
9944 parentBoundTranscludeFn: previousBoundTranscludeFn,
9945 transcludeControllers: controllers,
9946 futureParentElement: futureParentElement
9947 });
9948 }
9949
9950 // We need to attach the transclusion slots onto the `boundTranscludeFn`
9951 // so that they are available inside the `controllersBoundTransclude` function

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected