Is updating through the service ($resource) but angular front end is not setting data correctly now