angular bootstrap modal opened event
Ensure that modal is opened. If(this.modalRef ! undefined) . This.modalRef.close() ) Conclusion: When the modal is opened we push a new history state (e.g. with the current page). If the modal is closed normally (using ESC, close button,) the history back event is manually triggered console.log(prefix modal controller, resolved angular .toJson(resolved))var OPENEDMODALCLASS modal-open var backdropDomEl, backdropScopeModal is based on ui.bootstrap.modal. If the event is modal-initiated, then we need to initially veto and fire a state transition that . Im invoking a bootstrap modal dialog through a link.