title: AngularJS $window.confirm not working in Chrome
body: <pre><code>angular.module('myApp')
    .controller('pancakeController', ['$scope', '$window', function($scope, $window) {
  
      $scope.panCakes = [];
  
      $scope.removePancake = function(index) {
  
        if($window.confirm('are you sure?')) {
          $scope.panCakes.splice(index, 1);
        } else {
          $scope.panCakes.splice(index, 1);
        }
      };
  
  }]);
  </code></pre>
  
  <p><code>myApp</code> is already defined in another file. I'm using <code>angular.module('myApp')</code> to grab a reference to it.</p>
  
  <p>Trying to use <code>window.confirm()</code> to confirm the user before deleting a panCake but the confrim box does not popup in Chrome 37.0.2062.94 but does work in Chrome Canary. 
  I'm using the AngularJS $window object, but using regular window.confirm does not work either. Is there something that I'm missing in my code or is just a bug in that particular version of Chrome?</p>