aboutsummaryrefslogtreecommitdiffstats
path: root/docs/content/guide/directive.ngdoc
diff options
context:
space:
mode:
authorMaksim2013-11-18 22:09:48 -0800
committerPete Bacon Darwin2013-11-20 11:37:00 +0000
commit3ceb6ab47797d98ea5fb423835923338d90caaca (patch)
tree1498e4539c2386b1249cdb92e0aa477c22bf6d71 /docs/content/guide/directive.ngdoc
parent999fa446169461ed3a7d68dfd4084ad7d8c9335e (diff)
downloadangular.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/guide/directive.ngdoc')
-rw-r--r--docs/content/guide/directive.ngdoc2
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>