This project is read-only.


AngularJS Objects Update Failure


Updates of an AngularJS object fail.

Example Code:

<li ng-repeat="item in items">
<button ng-click="update(item)">Update</button>

AngularJS Controller:
$scope.edit = function(item) {
AzureMobileServices.update("itemTableName", item).then(function() { ... });


AngularJS adds a $$hash variable to the 'item' object in the above example code. When this object is passed to Azure the $$hash field does not exist and an update exception is thrown.


dmcwee wrote Jul 21, 2014 at 4:29 PM

Current recommended fix is to "extract" the values that should be sent to the Azure Services as a "clean" object rather than using the AngularJS object.

dmcwee wrote Jul 25, 2014 at 4:25 AM

Close as of version 1.0.2