diff options
| author | Miško Hevery | 2012-12-18 20:38:43 -0800 |
|---|---|---|
| committer | Miško Hevery | 2012-12-18 20:38:43 -0800 |
| commit | 1e13544da8c8ca8c630fd14feca25ab1b40bd3fd (patch) | |
| tree | 23156089b3597a28c165755de557f13be7249fab /docs | |
| parent | e03182f018f5069acd5e883ce2e9349b83f2d03f (diff) | |
| download | angular.js-1e13544da8c8ca8c630fd14feca25ab1b40bd3fd.tar.bz2 | |
docs(directive): old syntax
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/content/guide/directive.ngdoc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/content/guide/directive.ngdoc b/docs/content/guide/directive.ngdoc index bed1621a..4fd53352 100644 --- a/docs/content/guide/directive.ngdoc +++ b/docs/content/guide/directive.ngdoc @@ -591,10 +591,10 @@ Therefore the final directive definition looks something like this: <pre> transclude: true, 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> |
