File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -535,7 +535,7 @@ into the dialog.
535
535
Here is an example of what the template definition for the `dialog` widget may look like.
536
536
537
537
<pre>
538
- <div ng-show="show() ">
538
+ <div ng-show="show">
539
539
<h3>{{title}}</h3>
540
540
<div class="body" ng-transclude></div>
541
541
<div class="footer">
@@ -555,10 +555,10 @@ expects as follows:
555
555
556
556
<pre>
557
557
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: '='
562
562
}
563
563
</pre>
564
564
You can’t perform that action at this time.
0 commit comments