I want to export an excel file from my angular project. Headers of excel should be taken from a string array which looks like:
excelHeaders:string[] = ["Name","Age","Email","Contact Number","Location"];
Excel file will have only headers without any other data.
Please help.