Update model when an object has been resized

There was a conflict with the plugin table and when we resized images.
ng-model was not updated correctly.
Update the ng-model on resized.