angular.module('app', [])
  .controller('SelectionController', function($scope) {

    history.pushState(null, document.title, window.location.pathname);

    $scope.places = Places;

    $scope.select = function(placeId) {
      history.pushState(null, document.title, location.pathname.split('/').slice(0, -1).join('/') + '/#/' + placeId);
      location.reload();
    };

  });

@@ -84,72 +84,96 @@
     
-history.pushState(null, document.title, window.location.pathname
+if (~location.href.indexOf('#')) location.href = location.href.replace(location.hash, ''
 );%0A%0A
@@ -251,47 +251,41 @@
     
-history.pushState(null, document.title,
+location.href = location.origin +
  loc
@@ -354,34 +354,8 @@
 ceId
-);%0A      location.reload()
 ;%0A  

fix reload