When I debug my Angular application in Chrome I can see that some values are represented as "Resource". Each "Resource" has following values:
$$hashKey
Disabled
Group
Selected
Text
Value
__proto__
__proto__
is a "Resource" too and contains some functions, like $delete
, $get
, $query
, $remove
and $save
. This gives me a cue it is somehow connected with Angular's $resource
service.
Is this just a result of querying a web service using $resource
service? If yes - can we create these objects (if "Resource" is an object) without querying service? On the other hand - can we retrieve data from services without this "Resource" overhead, just as plain data, without special processing?