File association with ionic 2

How do I associate my app with a file type? for example if I get .pdf by email and I would like to send it to my App by clicking the file and selecting which app will open it.
I am writing with ionic 2

I think you are looking for something like that:

Thanks! I think you are right , will check it soon. Is it the same for iOS with its own manifest?