You need to move the ng-switch-when
to the td otherwise it will ignore it as invalid because a div
is not valid markup inside a tr
. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tr
Remove the div and change it to:
<td ng-switch-when="01">{{ row.nb }}</td>