0

I have an object that looks like: {"id":1,"name":"aaa"}

in my client side i have the following:

<tr data-ng-repeat="order in orders">
    <td>
       {{here i want to get for example id or name}}
    </td>
    <td>
       {{order}} // here i have 1 in the first row and aaa in the second row
    </td>
</tr>

Anyone knows how to get the type of the object's value?(as i showed above)

thank you!!

scniro
  • 16,844
  • 8
  • 62
  • 106
user3100708
  • 148
  • 3
  • 19

0 Answers0