Creating and Saving ODT file in Ionic?

Hi Everyone,

I have been successful in creating pdf files in Ionic thanks to the nifty pdfMake.org library, which is fantastic. Unfortunately I really need something the can be opened in MS Word, and ODT files seem to be the best option. However, as far as I can tell the only Javascript library there is is http://webodf.org/ and the docs are really not clear on how to use this to create a document.

Does anyone have an example of how to create and save an ODT file within an Ionic App, or know of a good javascript library (with decent examples) or could point me to any alternative file formats?

Any help would be appreciated.

Kind regards

Fred