Add flashcard directive for flashcard interaction