Benmakhlouf Saad

Benmakhlouf Saad

  • NA
  • 134
  • 13.3k

get object.value from dropdownlist

Oct 10 2016 12:10 PM
Hi,
I have a form that contains many fields
exp :  <input "ng-model = from.username" >
exp :  <select "ng-model = from.Products">
 
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 
 
 

Answers (2)