My question is to retain only specific field values from an object array , in my case here it is FirstName,LastName,PhoneNumber,Department,EmailId. A single object in object array $scope.devices has many fields but i want to retain only the above mentioned filed values for all the objects.My question is to retain only specific field va