How to upload image for particular user?

Hi , i am new to ionic i am using codeigniter restful services as api and i want to make a user profile picture update button . i got know about camera plugin with file transfer plugin i tried but i dont know how to pass user_id with fileuploadoptions to upload that particular user profile pic. please help me.

thanks in advance