Challenge: Practicing Directives

Challenge yourself by adding additional functionalities based on the event creator property.

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.

Playground

Below is your updated code. Modify it to implement the functionality mentioned in the problem statement.

Get hands-on with 1400+ tech skills courses.