I am trying to figure out a way to add field names and values to an object.
for example I hav ethe following...
$scope.product = {
"Requirements": [
{
"OriginPostcode": '',
"BearerSize": 100,
"BandwidthRequired": 10
}
]
}
And I want to add two more names and values...
"Term": 36,
"Quantity": 1
I know the push() function is for arrays. What do you uses for objects?
Many thanks