mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-03-18 15:50:22 +00:00
docs(ngTransclude): fix outdated scope definition in example
This commit is contained in:
parent
c785b2edff
commit
e1810c5cd3
1 changed files with 1 additions and 2 deletions
|
|
@ -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>' +
|
||||
|
|
|
|||
Loading…
Reference in a new issue