fix($location): don't initialize hash url unnecessarily
After a recent refactoring using $location in the default hashbang mode would result in hash url being initialized unnecessarily in cases when the base url didn't end with a slash. for example http://localhost:8000/temp.html would get rewritten as http://location:8000/temp.html#/temp.html by error.
I
Igor Minar committed
d4d34aba6efbd98050235f5b264899bb788117df
Parent: 04cebcc