How to use ionicModal in conjunction with a state/route so I can resolve modal dependencies?

I will like to be able to resolve dependencies prior to loading the ionicModal, in effect is it possible to have ionicModal animate open when I visit a specific route, e.g. “/modal”? What’s the best way of going about doing this?

Should I instead resolve dependencies behind the scenes before the user even opens the modal?

1 Like