(scope, cloneAttachFn)
| 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 |
nothing calls this directly
no test coverage detected