Here we have a setup where model entities are displayed using ng-repeat along with a twitter bootstrap modal that includes a form:
<div class="entity" ng-repeat="entity in model" ng-click="openModal()">
<b>{{ model.title }}</b></br>
<i>{{ model.content }}</i>
</div>
<!-- bootstrap modal ... -->
<div id="modal" ....
In this scenario, what would be the most effective method to open a bootstrap modal (including a form) and populate the form with data specific to the entity being clicked on?