Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ilvalerione committed May 16, 2016
1 parent 7f88172 commit 5cc4378
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 @@ -61,7 +61,10 @@ angular.module('myApp')
});
```

`closeModal(result)` It's added by the service and allow you to close modal and return a result if you want.

#Your modal template
Modal's scope is a child of Controller's scope, so you can use `closeModal()` directly in your HTML

```html
<div class="modal">
Expand Down

0 comments on commit 5cc4378

Please sign in to comment.