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();
    };

  });

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

    if (~location.href.indexOf('#')) location.href = location.href.replace(location.hash, '');

    $scope.places = Places;

    $scope.select = function(placeId) {
      location.href = location.origin + location.pathname.split('/').slice(0, -1).join('/') + '/#/' + placeId;
    };

  });

fix reload