This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Description
it seems that we do something wrong when $location is in html5 mode and we run in a browser that doesn't support history.pushState and we change url with $location#url() method.
angular.module('myApp', [])
.config(function($locationProvider){
$locationProvider.html5Mode(true).hashPrefix('!');
}
);
function MyCtrl($scope, $location) {
$scope.changeURL = function() {
$location.path('/myPath');
}
}
<a href ng-click="changeURL()">click here to see full page reload</a>
originally reported at: https://groups.google.com/forum/?fromgroups#!topic/angular/k-i6UYa7KpQ