AngularJS ng-click stopPropagation. ngClick directive (as well as all other event directives) creates $event variable which is available on same scope. This variable is a reference to JS event object and can be used to call stopPropagation():
<tr ng-repeat="user in users" ng-click="showUser(user)">
<button class="btn" ng-click="deleteUser(user.id, $index); $event.stopPropagation();">
If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.