title: How to avoid modal to reload controller again?
body: <p>When initialize my controller and page, I'll send some data to third party server. I have a button which triggers a modal. When user clicks the button, my controller is initialized again so the data is sent again. How to avoid it?</p>
  
  <p>View:</p>
  
  <pre><code>View:
  
  &lt;button id="sendEmailButton" type='button'ng-click="sendEmail()"&lt;/button&gt; 
  
  Controller:
  
  $scope.sendEmail = function() {
      $modal.open({
          templateUrl: 'sendEmail.html'
      });
  }
  </code></pre>
  
  <p>```</p>