how to apply css on specific td on first tr
I'm a beginner in AngularJS, and really want not to use JQuery to solve my
problem (maybe I'm wrong).
Here's my problem :
I would like to apply a CSS on the last td element in the first tr in a
table.
My code :
<table>
<tr ng-repeat="person in persons | orderBy:'name'">
<td></td>
</tr>
</table>
So for the first tr, the last td element should be <td
class="myClass">{{person.email}}</td>
Thanks for your answers and explanations.
Edit : I Forgot to say, I know how to resolve my problem by applying css
on the last td, but I want to do it with angularjs, because I can have
differents persons, and depends on the difference, I want to apply another
CSS style.
No comments:
Post a Comment