I have some modals which I would prefer to isolate from their parent scope. Each modal has it’s own controller. Is there a preferred method for that controller to access the ‘modal’ object instance itself, thus being able to call hide() on itself, without needing to rely on a variable from the parent scope?
Never mind. I looked in the ionic source and I see that if I don’t pass in a scope when setting up the modal, it adds the modal reference to a new, isolated scope, which is exactly what I needed.