Cleaned up confusing use of the term URL to refer to $location as well as 'URL in the browser'