(scope, transcludeFn, previousBoundTranscludeFn)
| 7982 | } |
| 7983 | |
| 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 | } |
| 8002 | |
| 8003 | /** |
| 8004 | * Looks for directives on the given node and adds them to the directive collection which is |
no outgoing calls
no test coverage detected