   $scope.metrics = []
   $scope.gradedMetrics = []
   $scope.courseBadges = {}
+  $scope.rubricGrades = {} # index in hash with metric_id as key
 
   $scope.pointsPossible = 0
   $scope.pointsGiven = 0

  $scope.addRubricGrades = (rubricGrades)->
    angular.forEach(rubricGrades, (rg, index)->
      rubricGrade = new RubricGradePrototype(rg)
      $scope.rubricGrades[rg.id] = rubricGrade
    )

  # Badge Section

    $scope.rubricId = rubricId
    $scope.assignmentId = assignmentId
    $scope.studentId = studentId
    $scope.addRubricGrades(rubricGrades)
    $scope.addCourseBadges(courseBadges)
    $scope.addMetrics(metrics)

  # distill key/value pairs for metric ids and relative order
