Evite que el evento infantil active el elemento principal Angular 5

Use the stopPropagation method on the angular $event object:

<div ng-click="parent()">
  <div ng-click="d(); $event.stopPropagation();"></div>
</div>
Mlifonza