Cegah peristiwa anak dari memicu elemen induk Angular 5
Use the stopPropagation method on the angular $event object:
<div ng-click="parent()">
<div ng-click="d(); $event.stopPropagation();"></div>
</div>
Mlifonza