angularjs - Create array of objects in an object - Node.js -
in below code, 'info' object has description, quantity, value. how give them array(indo property). how retrieve in angular code.
details.customsdetail.itemdetails = { currency : "2000usd", weight : "lbs", info : { description : "descr", quantity : "2", value : "124", } };
do mean , indo property array of objects?
details.customsdetail.itemdetails = { currency : "2000usd", weight : "lbs", info : [{ // how give in array. description : "descr", quantity : "2", value : "124", }] };
Comments
Post a Comment