Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit e1810c5

Browse files
marcin-wosinekpetebacondarwin
authored andcommitted
docs(ngTransclude): fix outdated scope definition in example
1 parent c785b2e commit e1810c5

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/ng/directive/ngTransclude.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,7 @@
2323
return {
2424
restrict: 'E',
2525
transclude: true,
26-
scope: 'isolate',
27-
locals: { title:'bind' },
26+
scope: { title:'@' },
2827
template: '<div style="border: 1px solid black;">' +
2928
'<div style="background-color: gray">{{title}}</div>' +
3029
'<div ng-transclude></div>' +

0 commit comments

Comments
 (0)