title: AngularJS: open default mail application and populate to and subject via link
body: <p>I'm trying to open a link using <code>ng-href</code> and as soon as I click on it, I need it to open an email address and populate its To, Subject and it's Body field. Can this be made possible?</p>
  
  <p>I tried this, </p>
  
  <pre><code>&lt;a ng-click=”sendMail($event)” href=”gmail.com” /&gt;
  
  $scope.sendMail = function($event)
          {
              if($scope.showMailLink == true )
              {
                  $event.preventDefault();
                  window.location = $event.target.href;
                  $window.open("mailto:veron@gmail.com?subject=hello&amp;body=fggf_self");
              }
          };
  </code></pre>
  
  <p>This is what I've tried and it isn't actually  right. Is this a valid approach?</p>