title: reload angular directive within modal
body: <p>I am using a modal dialog to render a table with textbox for filtering. The issue I am facing is the data of the table changes depending on from where the modal is triggered. Every time the modal is shown the data changes, but the filter value entered does not go. Can you let me know how to make sure to reload the template dom every time. </p>
  
  <p>Thanks</p>