You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
Hey, I'm using angular in version v1.4.8. I'm trying to do a very simple thing described in many places, however I can't make it work. Maybe this is a bug. Simple I want to change the data before sending it with ngResource. Here is my code:
In the function transformRequest data object is always marked as 'undefined'. If I add data parametr to service ex. data: {test: 1} then the object appears in transformRequest. However, in this way, I can't pass it from the controller. Maybe I'm doing something wrong?