'use strict';

angular.module('hrr10MjbeApp')
  .controller('BadgesCtrl', function($scope, Badges) {
    $scope.message = 'Hello';
    Badges.getUserBadges(function(badges) {
      $scope.badges = badges;
    });
  });

'use strict';

angular.module('hrr10MjbeApp')
  .controller('BadgesCtrl', function($scope, Student) {
    $scope.message = 'Hello';
    Student.getBadges(function(badges) {
      $scope.badges = badges;
    });
  });

fix badge display