challenge prize: various fixes. Woo, challenge prizes work now!

@sabrecat @lemoness @wc8 (still some bugs & cleanup, but it's mostly there)
This commit is contained in:
Tyler Renelle
2013-10-31 14:06:18 -07:00
parent 693061c77b
commit d5e78266e5
4 changed files with 6 additions and 5 deletions

View File

@@ -1,7 +1,7 @@
"use strict";
habitrpg.controller("ChallengesCtrl", ['$scope', 'User', 'Challenges', 'Notification', '$compile', 'Groups', '$state', '$rootScope',
function($scope, User, Challenges, Notification, $compile, Groups, $state, $rootScope) {
habitrpg.controller("ChallengesCtrl", ['$scope', 'User', 'Challenges', 'Notification', '$compile', 'Groups', '$state',
function($scope, User, Challenges, Notification, $compile, Groups, $state) {
// FIXME get this from cache
Groups.Group.query({type:'party,guilds,tavern'}, function(groups){