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

Commit

Permalink
docs(directive): remove reference to old isolation syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
mhevery committed Sep 13, 2012
1 parent b0a05a7 commit 5418564
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions docs/content/guide/directive.ngdoc
Original file line number Diff line number Diff line change
Expand Up @@ -535,7 +535,7 @@ into the dialog.
Here is an example of what the template definition for the `dialog` widget may look like.

<pre>
<div ng-show="show()">
<div ng-show="show">
<h3>{{title}}</h3>
<div class="body" ng-transclude></div>
<div class="footer">
Expand All @@ -555,10 +555,10 @@ expects as follows:

<pre>
scope: {
title: 'bind', // set up title to accept data-binding
onOk: 'expression', // create a delegate onOk function
onCancel: 'expression', // create a delegate onCancel function
show: 'accessor' // create a getter/setter function for visibility.
title: '=', // set up title to accept data-binding
onOk: '&', // create a delegate onOk function
onCancel: '&', // create a delegate onCancel function
show: '='
}
</pre>

Expand Down

0 comments on commit 5418564

Please sign in to comment.