Ionic app attachment

I am trying to use attachment for Ionic app can anyone suggest me a document to proceed further not able to find any example? I need to store and sync images using attachment.