mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-03-16 23:30:23 +00:00
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:
parent
999fa44616
commit
3ceb6ab477
1 changed files with 1 additions and 1 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in a new issue