Fixing a problem with $scope values not being updated when <input> values are modified
See: http://stackoverflow.com/questions/17606936/angularjs-dot-in-ng-model
Single object rather than multiple parameters
Promises rather than callbacks, some error handling
Merge pull request #2 from nurkiewicz/ng-model-fix

Incorrectly bound form not propagating changed inputs