var app = angular.module('plunker', ['ngMobile']);
app.controller('MainCtrl', function($scope) {
$scope.panel = 1;
});
<!DOCTYPE html>
<html ng-app="plunker">
<head>
<meta charset="utf-8" />
<title>AngularJS Plunker</title>
<script>document.write('<base href="' + document.location + '" />');</script>
<link rel="stylesheet" href="style.css" />
<script data-require="angular.js@1.1.x" src="http://code.angularjs.org/1.1.5/angular.min.js" data-semver="1.1.5"></script>
<script data-require="angular-mobile.js@1.1.x" src="http://code.angularjs.org/1.1.5/angular-mobile.min.js" data-semver="1.1.5"></script>
<script src="app.js"></script>
</head>
<body ng-controller="MainCtrl">
<p>View this page on iOS/Android browser and tap the button below</p>
<p>The tap event is triggered correctly, but the click event is not busted and causes the following input to be focused</p>
<div ng-show="panel == 1">
<button ng-click="panel = 2">Tap Me</button>
</div>
<div ng-show="panel == 2">
<input type="text" name="test" id="test" value="" placeholder="I shouldn't be focused!" />
<button ng-click="panel = 1">← Back</button>
</div>
</body>
</html>
/* Put your css in here */