                     current_cantidature[0].artist.user = user_infos
                   )
               )
+              # get media  justifications 
               if(candidature.cursus_justifications != null)
                   gallery_id = candidature.cursus_justifications.match(/\d+$/)[0]
                   Galleries.one(gallery_id).get().then((gallery_infos) ->

              # chek if there is observations
              observation = if candidature.observation != null then JSON.parse(candidature.observation) else {jury:""}
              candidature.has_observation = (observation.jury != '' || (observation[$rootScope.user.username] && observation[$rootScope.user.username] != ""))
    )
    return arr


      Candidatures.one(id).get().then((candidature) ->
        $scope.candidature = candidature
        $scope.itw_date = new Date(candidature.interview_date)
        # has observations
        observation = if candidature.observation != null then JSON.parse(candidature.observation) else {jury:""}
        $scope.candidature.has_observation = (observation.jury != '' || (observation[$rootScope.user.username] && observation[$rootScope.user.username] != ""))
        artist_id = candidature.artist.match(/\d+$/)[0]
