diff options
| author | Marcin Wosinek | 2013-06-01 13:51:50 +0200 | 
|---|---|---|
| committer | Pete Bacon Darwin | 2013-06-04 22:13:58 +0100 | 
| commit | e1810c5cd3520338f7cf77cbb913be675d636cab (patch) | |
| tree | 697605d36324a616607c890e1a1e40de92756589 | |
| parent | c785b2edff50e9d9b1874d03d2399509d1aa062e (diff) | |
| download | angular.js-e1810c5cd3520338f7cf77cbb913be675d636cab.tar.bz2 | |
docs(ngTransclude): fix outdated scope definition in example
| -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>' + | 
