title: Angular Download File From Amazon S3 URL
body: <p>I am unable to download an image from an Amazon S3 URL, with an anchor tag in Angular. What am I missing? </p>
  
  <p>URL</p>
  
  <pre><code>  https://s3.amazonaws.com/nationalrx/card/national_test.png
  </code></pre>
  
  <p>HTML</p>
  
  <pre><code>  div(ng-bind-html="trustedHtml")
  </code></pre>
  
  <p>CONTROLLER</p>
  
  <pre><code>  $scope.html = '&lt;a target="_self" ng-href="https://s3.amazonaws.com/nationalrx/card/national_test.png" download&gt;Download NOW&lt;/a&gt;';
    $scope.trustedHtml = $sce.trustAsHtml($scope.html);
  </code></pre>
  
  <p>CONFIG</p>
  
  <pre><code>  $compileProvider.aHrefSanitizationWhitelist(/^\s*(https?|ftp|mailto|file|tel|blob|):/);
  </code></pre>
  
  <p>$sceProvider.enabled(false) did not help</p>