fix(profile): fix bug where empty profile displayed on username click

Due to #2396, Shared was undefined in one controller. There may be other
cases we should look out for.

Fixes #2465
This commit is contained in:
Cole Gleason
2014-01-18 01:38:09 -06:00
parent ee6b18aea7
commit 0579c43248
+2 -2
View File
@@ -58,8 +58,8 @@ habitrpg.controller("GroupsCtrl", ['$scope', '$rootScope', 'Shared', 'Groups', '
}
])
.controller("MemberModalCtrl", ['$scope', '$rootScope', 'Members',
function($scope, $rootScope, Members) {
.controller("MemberModalCtrl", ['$scope', '$rootScope', 'Members', 'Shared',
function($scope, $rootScope, Members, Shared) {
$scope.timestamp = function(timestamp){
return moment(timestamp).format('MM/DD/YYYY');
}