J create the addReview function in the reviewForm directive, to be able to save the review