How to select text and send it to Ionic iOS app


Creating an Ionic iOS app to create notes with cordova.
I want to select text like in message or a website and wants to send it to my ionic notes app and want to trigger new Note. I want the selected text to appear in the new note.
How can I make this happen?