How to download files in Angular.js

There are a few ways to download files with Angular. The simplist way to download a file is with html: <a ng-href="{{downloadLink}}" target="_blank" »