ignore parent on click angular 8 code example
Example: prevent the child event from triggering the parent element angular 5
Use the stopPropagation method on the angular $event object:
<div ng-click="parent()">
<div ng-click="d(); $event.stopPropagation();"></div>
</div>