Search⌘ K
AI Features

Challenge: Practicing Directives

Explore how to practice Angular directives by conditionally displaying text based on user roles in an event and managing event subscriptions. Learn to test these changes effectively in components to ensure proper functionality and enhance your Angular skills.

Problem statement

In addition to conditionally displaying the “Subscribe” and “Unsubscribe” buttons, based on whether the user is the event creator, we will update the “Member List” header to display “Your Event Members” if the current user is the creator of the event. ...