title: Is there a way to automatically close Angular UI Bootstrap modal when route changes?
body: <p>I've got links in templates inside modals. When I click them, the current page changes, but the overlay and modal stay. I could add <code>ng-click="dimiss()"</code> to every link in all templates in modals, but is there a better way? E.g. to close it automatically on successful route change or add just one <code>ng-click</code> per template to handle all links?</p>