docs(ngTransclude): fix outdated scope definition in example

This commit is contained in:
Marcin Wosinek 2013-06-01 13:51:50 +02:00 committed by Pete Bacon Darwin
parent c785b2edff
commit e1810c5cd3

View file

@ -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>' +