Angular JS directive for making a "depth chart"-style HTML table