The objective is to create a directive which can change color of the text displayed on a list based on a dynamic value.
For example, I have an array:
$scope.messages = [{user: "Eusthace", message: "Hello!", timestamp: 1431328718}];
For each user I'd like to have a different text color in the list of messages.