How to Invoke ionic modal controller only when modal is called to show?


#1

SO i have a parent controller which has a ionic modal ! i define it in parent controller and give the modal its own controller !

but during the definition of the modal the controller is invoked !

any way to invoke the modal controller only when the modal is called to show ??