angular/angular.js — pull request #5606 by caitp (2014-01-03 00:16:51+00:00)
Title: fix($browser): remove base href domain when url begins with '//'

This change prevents an incorrect appBase url from being calculated when the
href's domain begins with '//'.

Related to #5292, tangentially.

I don't know for sure if this is the correct behaviour, but it doesn't seem
totally unreasonable.