I need assistance in implementing a dynamic html table using AngularJS.
Within the scope, there is a two-dimensional array named 'array' that holds the data for populating the table.
Using Jade:
table(class="table table-striped")
thead
tr
th
| Header
tbody
div(ng-controller="indexCtrl")
tr(ng-repeat="row in array")
td(class="row")
div(ng-repeat="cell in row", class="col-md-6")
.checkbox
label
input(type="checkbox",name="{{cell.permission}}")
| {{cell.name}}
The desired output should look like this:
x box1 x box2
x box3 x box4
Currently, only the table head is visible, without any rows. Can anyone spot what might be causing this issue in my template?