dynamic classes
<div ng-class="{ active: user.id == activeId }"> Dynamic </div> <!-- In this case active class will be added to the element as long as user.id matches activeId from the $scope object! -->