Put a ionic view inside a slide box

Has anyone tried to put a ionic view inside of a slide on a slide box? if so, how did you manage to do that.

Something like this is not recommended, as it can cause issues.
What is it you are trying to achieve?

i wanted to put two views inside of a slide box, and two buttons in the footer to alternate the views, i wanted to have the possibility to alternate also swiping. And thw idea of the two views was to keep the html as separate as posible.

But i ended up writing all the markup inside each slide.

Thanks for your answer