diegopamio / angular-sails-bind

An angular service to bind scope models to sailsjs models thru socket
MIT License
136 stars 25 forks source link

Changing subset doesn't update the socket #18

Open zivc opened 10 years ago

zivc commented 10 years ago

Hi,

In my controller I have this,

$sailsBind.bind('model, $scope, $scope.pagination);

When I change $scope.pagination in my controller, the change isn't passed on to the socket. Cant redeclare $sailsBind.bind() because it breaks the model in sailsjs and eventually I end up with an empty model.

Cheers,

Ash

diegopamio commented 9 years ago

mmmm.... good point... I'll take a look at it over the weekend.