Modal ng-click propagate to parent element... HELP!


#1

Hello,

Out of nowhere, something that never happened before, randomly happens in my app:

When I open a modal, i have a button with ng-click in it, and when I tap it it’s like I tapped at the back of the modal (the parent element) as well… triggering two events with one of them unwanted.

How come??

I have tried using the $event.stopPropagation(), but it doesn’t seem to work, it still propagate. :confused:
this looks so bad, and seem to be so random…

For info, it only started to happen since I uglifyed my code. Never happened before.