You have a simple semantic error in your HTML, specifically the ng-repeat-start
element does not wrap the <td>
so the <td>
shows up each time even though the ng-if
is there. Corrected here:
However, there are other problems stemming from the fact that you are trying to iterate over an object; objects do not have ordinal properties.