I think it's a bug, see also,
https://github.com/angular/angular.js/issues/2833
some work was done to change handling of what the "base url" was of the app, and how to handle it. that work seems to have broken things in both html5 mode https://github.com/angular/angular.js/issues/2762 fixed by igorMinar here: https://github.com/angular/angular.js/commit/aef098006302689d2d75673be828e31903ee7c3c but a similar bug still exists with html5 mode off which I think you're seeing.
as I mentioned in 2833, i started to write some tests to cover this case, and try to fix it. (https://github.com/fessyfoo/angular.js/commit/efd44f68e93ff83b4bd07b598c01f0727aec677e) but I'm not totally sure of my assumptions as to what's "correct".