Skip to content

Commit

Permalink
feat(docs): add documentation about "ng-dialog-bind-to-controller" pa…
Browse files Browse the repository at this point in the history
…rameter #236
  • Loading branch information
egor-smirnov committed Jun 14, 2015
1 parent 26fe5c4 commit 6788f34
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -434,6 +434,9 @@ Some imaginary button, for example, will look like:
</button>
```

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
Expand Down

0 comments on commit 6788f34

Please sign in to comment.