File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -535,7 +535,7 @@ into the dialog.
535535Here 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
You can’t perform that action at this time.
0 commit comments