Hi,
I have a form that contains many fields
exp :
exp :
Products is an Object
$scope.master={};
$scope.master = angular.copy(form);
I want to get Products.Id and put it to $scope.master and NOT get the Object Product.
Thanks
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Bikesh SrivastavaRank #108 · 20.3K reputationPosted Oct 12, 2016, 5:24 AM EDT
MayankRank #4,018 · 371 reputationPosted Nov 22, 2016, 3:30 AM EST
Cars:
You selected: {{selectedCar}}
Controller:
var cars = [
{ Name: "Alto", Createdby: "Maruti",IsActive:"true" },
{ Name: "Figo", Createdby: "Ford",IsActive:"true" },
{ Name: "Innova", Createdby: "Hyundai", IsActive: "true" },
{ Name: "TATA", Createdby: "Nano", IsActive: "true" },
{ Name: "Maruti 800", Createdby: "Maruti", IsActive: "false" },
];
$scope.cars = cars;
If u think it resolve your issue please marked as answer.