(scope, transcludeFn, previousBoundTranscludeFn, elementTransclusion)
| 7069 | } |
| 7070 | |
| 7071 | function createBoundTranscludeFn(scope, transcludeFn, previousBoundTranscludeFn, elementTransclusion) { |
| 7072 | |
| 7073 | var boundTranscludeFn = function(transcludedScope, cloneFn, controllers, futureParentElement, containingScope) { |
| 7074 | |
| 7075 | if (!transcludedScope) { |
| 7076 | transcludedScope = scope.$new(false, containingScope); |
| 7077 | transcludedScope.$$transcluded = true; |
| 7078 | } |
| 7079 | |
| 7080 | return transcludeFn(transcludedScope, cloneFn, { |
| 7081 | parentBoundTranscludeFn: previousBoundTranscludeFn, |
| 7082 | transcludeControllers: controllers, |
| 7083 | futureParentElement: futureParentElement |
| 7084 | }); |
| 7085 | }; |
| 7086 | |
| 7087 | return boundTranscludeFn; |
| 7088 | } |
| 7089 | |
| 7090 | /** |
| 7091 | * Looks for directives on the given node and adds them to the directive collection which is |
no outgoing calls
no test coverage detected