code: function () {
                  return {
                      href: location.href,
                      hash: location.hash,
                      host: location.host,
                      hostName: location.hostname,
                      port: location.port,
                      protocol: location.protocol
                  };
              }
docs: Gets current location of browser, this does not return
  actual location but it returns values of browser location.
  This is done to provide mocking behaviour for unit testing.
  
  @readonly
  @type {AtomLocation}
  @memberof BrowserService