title: Angularjs simple file download causes router to redirect
body: <p>HTML:</p>
  
  <pre><code>&lt;a href="mysite.com/uploads/asd4a4d5a.pdf" download="foo.pdf"&gt;
  </code></pre>
  
  <p>Uploads get a unique file name while there real name is kept in database. I want to realize a simple file download. But the code above redirects to / because of:</p>
  
  <pre><code>$routeProvider.otherwise({
      redirectTo: '/', 
      controller: MainController
  });
  </code></pre>
  
  <p>I tried with </p>
  
  <pre><code>$scope.download = function(resource){
      window.open(resource);
  }
  </code></pre>
  
  <p>but this just opens the file in a new window.</p>
  
  <p>Any ideas how to enable a real download for any file type?</p>