From 6788f34883c1342fdba9ce30e4d4a6a6cf780a2b Mon Sep 17 00:00:00 2001 From: Egor Smirnov Date: Mon, 15 Jun 2015 00:14:31 +0200 Subject: [PATCH] feat(docs): add documentation about "ng-dialog-bind-to-controller" parameter #236 --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index b37454e9..64c424fc 100644 --- a/README.md +++ b/README.md @@ -434,6 +434,9 @@ Some imaginary button, for example, will look like: ``` +You could optionally use ``ng-dialog-bind-to-controller`` to bind scope you've defined via parameter of directive to controller. +More information about bindToController is available [here](http://blog.thoughtram.io/angularjs/2015/01/02/exploring-angular-1.3-bindToController.html). + Directive contains one more additional but very useful option, it's an attribute named ``ng-dialog-close-previous``. It allows you to close previously opened dialogs automatically. ## Events