AngularJs: $resource: Unexpected behaviour while using $query action method -
I'm trying to get data using a Query Activity method from a cool service using the Angular $ resource < / P>
When I [$ resource: badcfg] Error in resource configuration found the expected response to keep an array But an object was found Now, when the query is overloaded, the following error is expected which is expected. But the issue is that I set ISArray to false, Still no error Why? I should have got the same error in the case of the former. What am I missing here? MyService.query (); I used the default query method as : I got the following error:
'query': {method: 'gET', isArray: true}
Comments
Post a Comment