(transcludedScope, cloneFn, controllers, futureParentElement, containingScope)
| 7984 | function createBoundTranscludeFn(scope, transcludeFn, previousBoundTranscludeFn) { |
| 7985 | |
| 7986 | var boundTranscludeFn = function(transcludedScope, cloneFn, controllers, futureParentElement, containingScope) { |
| 7987 | |
| 7988 | if (!transcludedScope) { |
| 7989 | transcludedScope = scope.$new(false, containingScope); |
| 7990 | transcludedScope.$$transcluded = true; |
| 7991 | } |
| 7992 | |
| 7993 | return transcludeFn(transcludedScope, cloneFn, { |
| 7994 | parentBoundTranscludeFn: previousBoundTranscludeFn, |
| 7995 | transcludeControllers: controllers, |
| 7996 | futureParentElement: futureParentElement |
| 7997 | }); |
| 7998 | }; |
| 7999 | |
| 8000 | return boundTranscludeFn; |
| 8001 | } |
no outgoing calls
no test coverage detected