angular.js/docs/content/error
Pete Bacon Darwin a644ca7b4e fix(resource): check whether response matches action.isArray
When using $resource you must setup your actions carefully based on what the server returns.
If the server responds to a request with an array then you must configure the action with
`isArray:true` and vice versa.  The built-in `get` action defaults to `isArray:false` and the
`query` action defaults to `isArray:true`, which is must be changed if the server does not do this.
Before the error message was an exception inside angular.copy, which didn't explain what the
real problem was. Rather than changing the way that angular.copy works, this change ensures that
a better error message is provided to the programmer if they do not set up their resource actions
correctly.

Closes #2255, #1044
2013-07-31 21:17:37 +01:00
..
cacheFactory docs(error): improve the cacheFactory/iid.ngdoc 2013-07-30 17:29:35 -07:00
compile fix($compile): don't use new with minErr 2013-07-26 15:58:40 -07:00
controller docs(minErr): Build minErr doc site 2013-07-24 10:42:20 -07:00
httpBackend docs(minErr): Build minErr doc site 2013-07-24 10:42:20 -07:00
injector docs(minErr): Build minErr doc site 2013-07-24 10:42:20 -07:00
interpolate docs(minErr): Build minErr doc site 2013-07-24 10:42:20 -07:00
jqLite docs(minErr): Build minErr doc site 2013-07-24 10:42:20 -07:00
location docs(minErr): Build minErr doc site 2013-07-24 10:42:20 -07:00
ng docs(minErr): Build minErr doc site 2013-07-24 10:42:20 -07:00
ngModel docs(minErr): Build minErr doc site 2013-07-24 10:42:20 -07:00
ngOptions docs(minErr): Build minErr doc site 2013-07-24 10:42:20 -07:00
ngPattern docs(minErr): Build minErr doc site 2013-07-24 10:42:20 -07:00
ngRepeat docs(minErr): Build minErr doc site 2013-07-24 10:42:20 -07:00
ngResource fix(resource): check whether response matches action.isArray 2013-07-31 21:17:37 +01:00
ngSanitize docs(minErr): Build minErr doc site 2013-07-24 10:42:20 -07:00
parse docs(minErr): Build minErr doc site 2013-07-24 10:42:20 -07:00
rootScope docs(minErr): Build minErr doc site 2013-07-24 10:42:20 -07:00
sce feat($sce): new $sce service for Strict Contextual Escaping. 2013-07-25 13:00:35 -07:00
index.ngdoc docs(minErr): Build minErr doc site 2013-07-24 10:42:20 -07:00