aboutsummaryrefslogtreecommitdiffstats
path: root/src/ng/directive/ngTransclude.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/ng/directive/ngTransclude.js')
-rw-r--r--src/ng/directive/ngTransclude.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ng/directive/ngTransclude.js b/src/ng/directive/ngTransclude.js
index 490ea21f..8eefb6ff 100644
--- a/src/ng/directive/ngTransclude.js
+++ b/src/ng/directive/ngTransclude.js
@@ -69,7 +69,7 @@ var ngTranscludeDirective = ngDirective({
link: function($scope, $element, $attrs, controller) {
controller.$transclude(function(clone) {
- $element.html('');
+ $element.empty();
$element.append(clone);
});
}