mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-05-21 16:45:36 +08: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:
committed by
Pete Bacon Darwin
parent
999fa44616
commit
3ceb6ab477
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user