Change "$cookies.playerIds" to "$rootScope.playerIds" in both MatchController and LobbyController