docs: function createHref($location, href, removeParams) {
          if (removeParams === void 0) { removeParams = null; }
          var hashMap = angular.copy($location.search());
          // lets remove any top level nav bar related hash searches
          if (removeParams) {
              angular.forEach(removeParams, function (param) { return delete hashMap[param]; });
          }
          var hash = Core.hashToString(hashMap);
          if (hash) {
              var prefix = (href.indexOf("?") >= 0) ? "&" : "?";
              href += prefix + hash;
          }
          return href;
      }