aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcin Wosinek2013-06-01 13:51:50 +0200
committerPete Bacon Darwin2013-06-04 22:13:58 +0100
commite1810c5cd3520338f7cf77cbb913be675d636cab (patch)
tree697605d36324a616607c890e1a1e40de92756589
parentc785b2edff50e9d9b1874d03d2399509d1aa062e (diff)
downloadangular.js-e1810c5cd3520338f7cf77cbb913be675d636cab.tar.bz2
docs(ngTransclude): fix outdated scope definition in example
-rw-r--r--src/ng/directive/ngTransclude.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/ng/directive/ngTransclude.js b/src/ng/directive/ngTransclude.js
index bf09b9c1..c15b77cb 100644
--- a/src/ng/directive/ngTransclude.js
+++ b/src/ng/directive/ngTransclude.js
@@ -23,8 +23,7 @@
return {
restrict: 'E',
transclude: true,
- scope: 'isolate',
- locals: { title:'bind' },
+ scope: { title:'@' },
template: '<div style="border: 1px solid black;">' +
'<div style="background-color: gray">{{title}}</div>' +
'<div ng-transclude></div>' +