title: How to pass custom data to an angular-strap modal
body: <p>I am using angular-strap's modal and have built my own template. My issue is that my template has 2 buttons, however, I the text and functionality of these buttons will change. As a result, I would like to pass on that data to the modal before I opened it.</p>
  
  <p>In the documentation it says</p>
  
  <pre><code>// Pre-fetch an external template populated with a custom scope
    var myOtherModal = $modal({scope: $scope, template: 'modal/docs/modal.tpl.demo.html'});
  </code></pre>
  
  <p>However, i haven't been able to get it working. Note that I would only like some values passed to the modal scope, not my entire parent $scope (which is what the example seems to do)</p>