Saturday, 15 March 2014

angularjs - ngOptions group complex object -


I am trying to display a selection with the ngOptions generated from this JSON:

 {Exception}: {{card_issuer: {name: 'HSBC'}, payercests: [{installments: 1}, {installments: 2}, {installments: 3}]} ... other issuer]}  

So, I have an array of cardisers with sub-arrays of a parchacostost.

So far, I came up with this selection:

  & lt; Exceptions to the exception are "installation group by cord_issuer.name" & gt; & lt; / select & gt;  

As you can see, I am grouped by exception.card_issuer.name, and this is OK. The problem is the content of the group, which should be the exception. Payer_costs.installments (each card issuer A list of installments for. As I did not get the solution, in this example, I used the exception.payer_costs [0] Installations,

>


No comments:

Post a Comment