docs(guide/directive): use hideDialog handler in example

The handler is in the controller but was not being used in the template.

Closes #5020
This commit is contained in:
Maksim 2013-11-18 22:09:48 -08:00 committed by Pete Bacon Darwin
parent 999fa44616
commit 3ceb6ab477

View file

@ -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>