How to make a ionic html page data into doc file in ionic 1

I have search allot but i did not find any solution regarding ho to make a doc file or any plugin which is used to make doc file like pdf reader.If any do this please send me the code.