$scope.getRoomNameById = function (roomId) {
        if ($scope.wrapper.roomList && roomId) {
            for (var i = 0; i < $scope.wrapper.roomList.rooms.length; i++) {
                if ($scope.wrapper.roomList.rooms[i].roomId == roomId) {
                    return $scope.wrapper.roomList.rooms[i].name;