mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-04-22 19:23:38 +08:00
docs(ngTransclude): fix outdated scope definition in example
This commit is contained in:
committed by
Pete Bacon Darwin
parent
c785b2edff
commit
e1810c5cd3
@@ -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>' +
|
||||
|
||||
Reference in New Issue
Block a user