code: function removeWindowsDriveName (path, url, base) {
        /*
        Matches paths for file protocol on windows,
        such as /C:/foo/bar, and captures only /foo/bar.
        */
        var windowsFilePathExp = /^\/?.*?:(\/.*)/;
  
        var firstPathSegmentMatch;
  
        //Get the relative path from the input URL.
        if (url.indexOf(base) === 0) {
          url = url.replace(base, '');
        }
  
        /*
         * The input URL intentionally contains a
         * first path segment that ends with a colon.
         */
        if (windowsFilePathExp.exec(url)) {
          return path;
        }
  
        firstPathSegmentMatch = windowsFilePathExp.exec(path);
        return firstPathSegmentMatch ? firstPathSegmentMatch[1] : path;
      }
docs: /*
  In Windows, on an anchor node on documents loaded from
  the filesystem, the browser will return a pathname
  prefixed with the drive name ('/C:/path') when a
  pathname without a drive is set:
  * a.setAttribute('href', '/foo')
  * a.pathname === '/C:/foo' //true
  
  Inside of Angular, we're always using pathnames that
  do not include drive names for routing.