aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVojta Jina2012-04-21 21:08:30 +0200
committerVojta Jina2012-04-21 21:08:30 +0200
commit1214084e9d036c4968adb2b15c4cbedd763c215d (patch)
tree7bf9c747dbfe1efd3e9970f24901d9677cae56cf
parenta18926f986166048a21097636f03ab29f107b154 (diff)
downloadangular.js-1214084e9d036c4968adb2b15c4cbedd763c215d.tar.bz2
docs(directive): fix transclusion examples
-rw-r--r--docs/content/api/angular.module.ng.$compileProvider.directive.ngdoc16
1 files changed, 8 insertions, 8 deletions
diff --git a/docs/content/api/angular.module.ng.$compileProvider.directive.ngdoc b/docs/content/api/angular.module.ng.$compileProvider.directive.ngdoc
index 2da85c51..a79bd9ba 100644
--- a/docs/content/api/angular.module.ng.$compileProvider.directive.ngdoc
+++ b/docs/content/api/angular.module.ng.$compileProvider.directive.ngdoc
@@ -584,10 +584,10 @@ expects as follows:
<pre>
scope: {
- title: 'bind', // set up title to accept data-binding
- onOk: 'exp', // create a delegate onOk function
- onCancel: 'exp', // create a delegate onCancel function
- show: 'prop' // create a getter/setter function for visibility.
+ 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.
}
</pre>
@@ -618,10 +618,10 @@ Therefore the final directive definition looks something like this:
<pre>
transclude: true,
scope: {
- title: 'bind', // set up title to accept data-binding
- onOk: 'exp', // create a delegate onOk function
- onCancel: 'exp', // create a delegate onCancel function
- show: 'prop' // create a getter/setter function for visibility.
+ 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.
}
</pre>