I'm probably groping in a glass of water...
I have a data source like this in my controller
$scope.data = { name: John, lastname: Doh, age: 31 }
In my view i have a form to edit only name
<input type=text ng-model="data.name">
Now, on click i would like to send only the name to a specific service, but if I do http.patch('myapi/path',data) i send all the model data, also lastname and age...
Ho can i fix to send only name?