Email with attachment in ios using ionic

HI i am developing one application with ionic i get the data from the service i=and i display the data to the user .user can share the data via email as well as facebook.when user share via email the content from service should share as a i created pdf and i used ngcordova file i attach created file to the email it works great in android but in ios the attachment is missing i gave document path to store the pdf