title: Using $index in angularjs ng-repeat to generate css classes
body: <p>I am trying to generate css classes using $index in ng-repeat so I can have indidual control of each dom item.</p>
  
  <p>like so:</p>
  
  
  
  <p>do I need to use item_{$index}, item_{{$index}} Been trying many different ways and googled the question for a while but no answer</p>
  
  <p>I have also noticed that angular doesnt seem to like underscore(_) or dashes(-) in ng-class class names. Removing them allows the condition to work. Could this also be my problem in generating classes in ng-repeat?</p>
  
  <p>Thanks</p>