Check out this Plunkr to see the issue I'm facing with two modals, each within separate directives named modal-one
and modal-two
.
The problem arises when clicking on the button for modal two, as only modal one is being opened.
I suspect that the issue lies in the .open
method being overridden on the $scope
.
Any insights on how to prevent this conflict would be greatly appreciated. Thank you!