2016-08-04から1日間の記事一覧
$http({method : 'GET', url : 'ファイルのURL', responseType : 'blob'}) .success(function(data) { var a = document.createElement('a'); a.download = 'ファイル名'; a.href = window.URL.createObjectURL(data); a.click(); });
$http({method : 'GET', url : 'ファイルのURL', responseType : 'blob'}) .success(function(data) { var a = document.createElement('a'); a.download = 'ファイル名'; a.href = window.URL.createObjectURL(data); a.click(); });