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

Commit 5418564

Browse files
committed
docs(directive): remove reference to old isolation syntax
1 parent b0a05a7 commit 5418564

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/content/guide/directive.ngdoc

+5-5
Original file line numberDiff line numberDiff line change
@@ -535,7 +535,7 @@ into the dialog.
535535
Here is an example of what the template definition for the `dialog` widget may look like.
536536

537537
<pre>
538-
<div ng-show="show()">
538+
<div ng-show="show">
539539
<h3>{{title}}</h3>
540540
<div class="body" ng-transclude></div>
541541
<div class="footer">
@@ -555,10 +555,10 @@ expects as follows:
555555

556556
<pre>
557557
scope: {
558-
title: 'bind', // set up title to accept data-binding
559-
onOk: 'expression', // create a delegate onOk function
560-
onCancel: 'expression', // create a delegate onCancel function
561-
show: 'accessor' // create a getter/setter function for visibility.
558+
title: '=', // set up title to accept data-binding
559+
onOk: '&', // create a delegate onOk function
560+
onCancel: '&', // create a delegate onCancel function
561+
show: '='
562562
}
563563
</pre>
564564

0 commit comments

Comments
 (0)