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

Commit 1e13544

Browse files
committed
docs(directive): old syntax
1 parent e03182f commit 1e13544

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/content/guide/directive.ngdoc

+4-4
Original file line numberDiff line numberDiff line change
@@ -591,10 +591,10 @@ Therefore the final directive definition looks something like this:
591591
<pre>
592592
transclude: true,
593593
scope: {
594-
title: 'bind', // set up title to accept data-binding
595-
onOk: 'expression', // create a delegate onOk function
596-
onCancel: 'expression', // create a delegate onCancel function
597-
show: 'accessor' // create a getter/setter function for visibility.
594+
title: '=', // set up title to accept data-binding
595+
onOk: '&', // create a delegate onOk function
596+
onCancel: '&', // create a delegate onCancel function
597+
show: '='
598598
}
599599
</pre>
600600

0 commit comments

Comments
 (0)