1. Switching to $http in the service and refactor get all
fixing issue with mapping object from put/post