<body ng-controller="MainCtrl">
<div ng-click="goUrl('http://qiaole.sinaapp.com')">
<button type="button" ng-click="doSomeSth();$event.stopPropagation();">button</button>
</div>
</body>
JS防止冒泡事件:
<body ng-controller="MainCtrl">
<div ng-click="goUrl('http://qiaole.sinaapp.com')">
<button type="button" ng-click="doSomeSth();$event.stopPropagation();">button</button>
</div>
</body>
JS防止冒泡事件: