Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

property name started with '$' not included in object return from $resources #6080

Closed
@angelochen960

Description

@angelochen960

Hi,
here is a simple gist:https://gist.github.com/angelochen960/8749530
the json returned from server has this

{
   "$content": "blah",
   "title": "ipsum"
}

When I use $http to get, result is correct, but if I use $resources, I got only

{
   "title": "ipsum"
}

if I use angularjs 1.0.7, I got the $content as well, only when it's 1.2.10, why?

gist is here:
https://gist.github.com/angelochen960/8749530
thanks

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions