feat(Armoire): Item counter

Implements a counter for how many pieces of equipment remain to be found in the Armoire, including tests for same.
This commit is contained in:
Sabe Jones
2015-06-03 15:16:09 -05:00
parent 97ae243c40
commit 09d32390f9
7 changed files with 18 additions and 6 deletions

View File

@@ -34,6 +34,7 @@ habitrpg.controller("RootCtrl", ['$scope', '$rootScope', '$location', 'User', '$
$rootScope.Groups = Groups;
$rootScope.toJson = angular.toJson;
$rootScope.Payments = Payments;
$rootScope.armoireCount = Shared.countArmoire(User.user.items.gear.owned);
// Angular UI Router
$rootScope.$state = $state;