MCPcopy Create free account
hub / github.com/binux/qiandao / controllersBoundTransclude

Function controllersBoundTransclude

web/static/components/angularjs/angular.js:6684–6698  ·  view source on GitHub ↗
(scope, cloneAttachFn)

Source from the content-addressed store, hash-verified

6682
6683 // This is the function that is injected as `$transclude`.
6684 function controllersBoundTransclude(scope, cloneAttachFn) {
6685 var transcludeControllers;
6686
6687 // no scope passed
6688 if (arguments.length < 2) {
6689 cloneAttachFn = scope;
6690 scope = undefined;
6691 }
6692
6693 if (hasElementTranscludeDirective) {
6694 transcludeControllers = elementControllers;
6695 }
6696
6697 return boundTranscludeFn(scope, cloneAttachFn, transcludeControllers);
6698 }
6699 }
6700 }
6701

Callers

nothing calls this directly

Calls 1

boundTranscludeFnFunction · 0.85

Tested by

no test coverage detected