В итоге сделал так:
Метод WebApi:
[HttpGet]
public string GetFilePath(string fileName, Guid categoryId, Guid userId)
{
using (var _client = new DataServiceClient("epData"))
{
if (Properties.Settings.Default.Domain != "")
{
_client.ClientCredentials.Windows.ClientCredential.UserName = Properties.Settings.Default.Domain + "\\" + Properties.Settings.Default.Login;
_client.ClientCredentials.Windows.ClientCredential.Password = Properties.Settings.Default.Password;
}
_client.SetCurrentUser(userId);
var category = _client.GetAttachmentCategory(categoryId);
LocalFileManager.SetWorkingFolder(category);
}
var serverName = HttpContext.Current.Request.Url.GetLeftPart(UriPartial.Authority) + HttpContext.Current.Request.ApplicationPath;
var result = Path.Combine(serverName, LocalFileManager.shortWorkingFolder, fileName);
return result;
}
Т.е метод GetFilePath просто возвращает url путь к фалу на сервере.
А потом через Angularjs все как показано в этом примере (просто copy/paste):
https://stackoverflow.com/questions/24080018/download-file-from-an-asp-net-web-api-method-using-angularjs
В IE 11 тоже работает как надо, если сделать как показано в Internet Explorer 11 Support (Fixed).