dwmkerr / angular-modal-service

Modal service for AngularJS - supports creating popups and modals via a service.
MIT License
626 stars 321 forks source link

ModalService.closeModals() - Dont close other modals #221

Open michaeljymsgutierrez opened 7 years ago

michaeljymsgutierrez commented 7 years ago

In my situation I use ModalService.closeModals to close all modals but when I open a new modal the other modal just pop up too

mskrzypkowski commented 6 years ago

See this comment: https://github.com/dwmkerr/angular-modal-service/issues/225#issuecomment-345504720

michaeljymsgutierrez commented 6 years ago

Hi there whitefox920 I already solved the my problem. what fix my problem is just seperating controllers for modal to disable other modal on main controller on poping up specially when reinitializing controllers. Thanks