anchor.diff:                                                    "$timeout", "$filter",
                                                     "MetricNamesQuerier",
                                                     "VariableInterpolator",
  +                                                  "URLGenerator",
                                                     function($http, $timeout,
                                                              $filter,
                                                              MetricNamesQuerier,
  -                                                           VariableInterpolator) {
  +                                                           VariableInterpolator,
  +                                                           URLGenerator) {
     return {
       restrict: "E",
       scope: {
  
positive.code:         }
  
          var expression = VariableInterpolator(scope.expr.expression, scope.vars);
          var url = VariableInterpolator(server.url, scope.vars);
          var expr = {
            expr: expression,
            range_input: scope.range || "",
  
negative.code:         };
  
          var hash = escape(JSON.stringify([expr]));
          return url + "#" + hash;
        };
  
        scope.setExpression = function(metricName) {
  