I\'m struggling with a special use case. I provide you with a jsfiddle snippet at the bottom.
1. The HTML table
My HTML is a table. ng
You can use tbody tag for groupping multiple tr together and use ngRepeat to loop over it.
http://jsfiddle.net/RkCMr/4/
By the way, it looks like your code is still in Jquery way of doing things. Even you've put them in a directive. As shown in the example above, a directive is not necessary at all and JQuery is not used.