Open a modal who it's located in an iframe on Ionic with JQuery

I use jquery to handle some functions with an iframe… But i have a question and i don’t know how solve it.

Can i bind a click into a function to fire a modal who is inside into an iframe? Don’t worry about X-domain

If the iframe is positioned in a html file rendered by Angular (so has a .ts file linked to it), then you should be able to use the (click) event to fire a function in the ts file that uses de ModalController to open the modal.

Even though iframes and jqueyy may not go well with angular/ionic in all occasions

Just try it, I would say