diff options
| author | Marcin Wosinek | 2013-06-01 13:51:50 +0200 |
|---|---|---|
| committer | Pete Bacon Darwin | 2013-06-04 22:14:15 +0100 |
| commit | 9870e65c5fbf6d5a1e6558f0e275b9afa77783f0 (patch) | |
| tree | f80181ca9bf0bee0215d7f2a850c7e10a287d382 /src/ng | |
| parent | aa839b9ff0908b18ebd1cf898f4093da0e76d1f7 (diff) | |
| download | angular.js-9870e65c5fbf6d5a1e6558f0e275b9afa77783f0.tar.bz2 | |
docs(ngTransclude): fix outdated scope definition in example
Diffstat (limited to 'src/ng')
| -rw-r--r-- | src/ng/directive/ngTransclude.js | 3 |
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>' + |
