Manage get, post for $http + inject service instance.