(transcludedScope, cloneFn, controllers, futureParentElement, containingScope)
| 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 | } |
no outgoing calls
no test coverage detected