diff options
| author | Maksim | 2013-11-18 22:09:48 -0800 | 
|---|---|---|
| committer | Pete Bacon Darwin | 2013-11-20 11:37:00 +0000 | 
| commit | 3ceb6ab47797d98ea5fb423835923338d90caaca (patch) | |
| tree | 1498e4539c2386b1249cdb92e0aa477c22bf6d71 /docs/content | |
| parent | 999fa446169461ed3a7d68dfd4084ad7d8c9335e (diff) | |
| download | angular.js-3ceb6ab47797d98ea5fb423835923338d90caaca.tar.bz2 | |
docs(guide/directive): use `hideDialog` handler in example
The handler is in the controller but was not being used in the template.
Closes #5020
Diffstat (limited to 'docs/content')
| -rw-r--r-- | docs/content/guide/directive.ngdoc | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/docs/content/guide/directive.ngdoc b/docs/content/guide/directive.ngdoc index 255b1fde..b6b74a97 100644 --- a/docs/content/guide/directive.ngdoc +++ b/docs/content/guide/directive.ngdoc @@ -720,7 +720,7 @@ own behavior to it.    </file>    <file name="index.html">      <div ng-controller="Ctrl"> -      <my-dialog ng-hide="dialogIsHidden" on-close="dialogIsHidden = true"> +      <my-dialog ng-hide="dialogIsHidden" on-close="hideDialog()">          Check out the contents, {{name}}!        </my-dialog>      </div> | 
