I am trying to achieve stateful bootstrap modals using ui-router. I have followed the approach given in the Stackoverflow Solution for the same question
Though I am facing some issues as described below:
- When I click on browser's back button state is moving to parent state in URL but modal is not going off
- When I am moving from one modal to another (sibling modals), the previous modal is remaining as it is and new modal is getting open on top layer. So when I am closing second modal I can see the previous modal as it is. It should not be like that, modal should get off once you move to the another modal (whether to the child modal or sibling modal)
Can anyone help me for the same?