diff options
| author | Miško Hevery | 2012-12-18 20:39:17 -0800 |
|---|---|---|
| committer | Miško Hevery | 2012-12-18 20:39:17 -0800 |
| commit | cffa015554f73afae174210143dfa71d86f76bf2 (patch) | |
| tree | 26cd3ffacbdfdd079d0b89225043d27c9ef59a85 /docs/content | |
| parent | 1104c7d75bb095f608854ea583e7773db986a031 (diff) | |
| download | angular.js-cffa015554f73afae174210143dfa71d86f76bf2.tar.bz2 | |
docs(directive): old syntax
Diffstat (limited to 'docs/content')
| -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> |
