How to stop event propagation with inline onclick attribute in angular code example Example: angular click stop propagation <div (click)="$event.stopPropagation()"></div>