I\'m trying to learn Angular by converting a piece of working jQuery/AJAX code. It\'s an activity viewer inside a table that basically displays a message with a button to \'
I think this should do what you want:
{{activity.seen ? 'Mark unread' : 'Mark read'}}
Fiddle