I have looked at angular-ui bootstrap and ng-dialog and they appear overkill for what I need viz:
<div ng-repeat="item in items">
<div class="dialog-content">
<h5 ng-click="dialog_open()">{{item.title}}</h5>
<p>{{item.content}}</p>
</div>
</div>
When the <h5>
is clicked I want div.dialog-content
to be displayed in a dialog styled using bootstrap's modal (without modal-header and modal-footer). The dialog closes whenever a user clicks outside of it.
How do I achieve this?
Any help will be appreciated. Thanks!