I have a particular question:
I've got this objects in an array in my scope:
Object[0] {
configured: true,
configuration: {
Object[0] {
qty1: 1,
qty2: 2
}
Object[1] {
qty1: 3,
qty2: 4
}
}
},
Object[1] {
configured: true,
configuration: {
Object[0] {
qty1: 5,
qty2: 6
}
Object[1] {
qty1: 7,
qty2: 8
}
}
}
Now, I'm using an ng-repeat directive to display the objects in my table
<tr ng-repeat="x in array| filter: {configured: true}">
...
</tr>
but I need to display, in every td, the qty values. The result must be something like this:
<tr>
<td>1</td>
<td>2</td>
<tr>
<tr>
<td>3</td>
<td>4</td>
<tr>
<tr>
<td>5</td>
<td>6</td>
<tr>
I'm wondering if is there any way of doing this using only angular directives (without using a temp array filled with qty values)?
Thank You very much, have a nice day! :)