It should be
<div ng-repeat="item in items">
<div ng-class="{in:$first}" > {{item.title}}</div>
</div>
Look at ng-class
directive in http://docs.angularjs.org/api/ng.directive:ngClass and in this thread What is the best way to conditionally apply a class?