anchor.diff:  
           $scope.onForecastingTemplateChange = function() {
               // Deep clone the template's options when a template is selected
  -            $scope.forecastingOptions = JSON.parse(JSON.stringify($scope.forecastingTemplate.options));
  +            $scope.forecastingOptions = jQuery.extend(true, {}, $scope.forecastingTemplate.options);
           };
   
           function clearUserInput() {
  
positive.code:         };
  
          $scope.forecast = function() {
              // Clone the original graph model
              var graphModel = JSON.parse(JSON.stringify($scope.graphModel));
  
              // Add series for the trend, forecast and bounds
              graphModel.series.push({
  
negative.code:         $scope.reset = function() {
              clearUserInput();
              // Re-render the original graph model
              var rrdGraphConverter = new Backshift.Utilities.RrdGraphConverter({
                  graphDef: $scope.graphDef,
                  resourceId: $scope.resource
              });
              renderGraph(rrdGraphConverter.model);
          };
  
          $scope.canForecast = function() {
  