Multiple modals per controller

Hi I’m new to Ionic so tell me if I’m going about this the wrong way.

Following on from this guide http://ionicframework.com/docs/api/service/$ionicModal/, I’m trying to have the controller responsible for multiple modals.

It’s my understanding that modals don’t have a route or state, so it makes no sense to have a ModalCtrl?

Any help appreciated. Thanks.

Hi,

I stumbled on the same hurdle. Then used a single Modal with 2 nested elements wrapped in 2 corresponding div.

Accordingly used ng-show/ng-hide directives to control which specific section to show.