angular/angular.js — pull request #3475 by AntiTalent (2013-08-06 08:29:41+00:00)
Title: fix(location): pathUrl is not containing the actual app path

If you refresh the browser with a valid path, the original version redirected you to the "otherwise" routing path. The original code only received the last part of an URI. (for example: http://server:port/admin/users/1 -> path would be /1, and not /admin/users/1) The routing worked if you started from the base path, but not always worked when you started with something different. I assume, that the pathUrl should be the part after the serverBase.
I compared the code with 1.0.7, but that version did not contain these new methods, and had a different approach. (One, that worked...)

html5Mode(true), Chrome 28