title: How to display data of an entity in modal with AngularJS
body: <p>i display some model entities with ng-repeat like and add a twitter bootstrap modal. The modal contains a form: </p>
  
  <pre><code>&lt;div class="entity" ng-repeat="entity in model" ng-click="openModal()"&gt;
    &lt;b&gt;{{ model.title }}&lt;/b&gt;&lt;/br&gt;
    &lt;i&gt;{{ model.content }}&lt;/i&gt;
  &lt;/div&gt;
  &lt;!-- bootstrap modal ... --&gt;
  &lt;div id="modal" ....
  </code></pre>
  
  <p>What is the best practise to open a bootstrap modal (which contain a form), and display the data of the entity in the form? </p>