I am using below code for export to excel:-
$scope.exportData = function () {
alert(document.getElementById('exportable').ierHTML);
var blob = new Blob([document.getElementById('exportable').ierHTML],
{ type: "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet;charset=utf-8"
}); saveAs(blob, "Report.xls"); };
it open excel with a waing message that xsl is not in correct format. The file could be corrupt or unsafe. Do you want to open it. Can anyone help me resolving this. And if there's no resolution with this plugin. Is there any other plugin that I can leverage for export to excel functionality in angular js.I need to export html table which has pagination.Any jquery plugin that can be integrated with angular js(except dataTable) will also do. Thanks in advance.
