Keep alignments after exporting HTML table to excel
<p>I'm exporting HTML table to excel in my UI.
How can I set the alignments to the exported excel in my code?
I have used inline styles in my table for this, but it doesn't work. Any ideas?</p>

<p>HTML:
Export Table data into Excel
JS:
    $scope.exportData = function () {
        var blob = new Blob([document.getElementById('exportable').innerHTML], {
            type: "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet;charset=utf-8"
        });
        saveAs(blob, "Report.xls");
    };</p>