<feed xmlns='http://www.w3.org/2005/Atom'>
<title>angular.js/src/ngResource, branch v1.2.0-rc.3</title>
<subtitle></subtitle>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/'/>
<entry>
<title>fix(*): protect calls to hasOwnProperty in public API</title>
<updated>2013-10-07T16:01:13+00:00</updated>
<author>
<name>Peter Bacon Darwin</name>
</author>
<published>2013-10-05T09:49:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=7a586e5c19f3d1ecc3fefef084ce992072ee7f60'/>
<id>7a586e5c19f3d1ecc3fefef084ce992072ee7f60</id>
<content type='text'>
Objects received from outside AngularJS may have had their `hasOwnProperty`
method overridden with something else. In cases where we can do this without
incurring a performance penalty we call directly on Object.prototype.hasOwnProperty
to ensure that we use the correct method.

Also, we have some internal hash objects, where the keys for the map are provided
from outside AngularJS. In such cases we either prevent `hasOwnProperty` from
being used as a key or provide some other way of preventing our objects from
having their `hasOwnProperty` overridden.

BREAKING CHANGE: Inputs with name equal to "hasOwnProperty" are not allowed inside
form or ngForm directives.

Before, inputs whose name was "hasOwnProperty" were quietly ignored and not added
to the scope.  Now a badname exception is thrown.

Using "hasOwnProperty" for an input name would be very unusual and bad practice.
Either do not include such an input in a `form` or `ngForm` directive or change
the name of the input.

Closes #3331</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Objects received from outside AngularJS may have had their `hasOwnProperty`
method overridden with something else. In cases where we can do this without
incurring a performance penalty we call directly on Object.prototype.hasOwnProperty
to ensure that we use the correct method.

Also, we have some internal hash objects, where the keys for the map are provided
from outside AngularJS. In such cases we either prevent `hasOwnProperty` from
being used as a key or provide some other way of preventing our objects from
having their `hasOwnProperty` overridden.

BREAKING CHANGE: Inputs with name equal to "hasOwnProperty" are not allowed inside
form or ngForm directives.

Before, inputs whose name was "hasOwnProperty" were quietly ignored and not added
to the scope.  Now a badname exception is thrown.

Using "hasOwnProperty" for an input name would be very unusual and bad practice.
Either do not include such an input in a `form` or `ngForm` directive or change
the name of the input.

Closes #3331</pre>
</div>
</content>
</entry>
<entry>
<title>docs($resource): remove extra "to" from $resource docs</title>
<updated>2013-10-05T16:51:21+00:00</updated>
<author>
<name>David Barker</name>
</author>
<published>2013-10-05T11:14:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=e8a139c6d42eff05f5303ac1529bd2b41e14ba3e'/>
<id>e8a139c6d42eff05f5303ac1529bd2b41e14ba3e</id>
<content type='text'>
Closes #4287
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Closes #4287
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(ngResource): Remove request body from $delete</title>
<updated>2013-10-04T23:50:08+00:00</updated>
<author>
<name>Jen Bourey</name>
</author>
<published>2013-10-04T19:02:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=8336b3a286f8469d4cd7c412c41ca8c1a31fecf0'/>
<id>8336b3a286f8469d4cd7c412c41ca8c1a31fecf0</id>
<content type='text'>
Prevent the  obj.$delete instance method from sending the resource as the request body.  This commit uses the existing hasBody boolean to only set httpConfig.data for methods which should have a request body.

Closes #4280
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Prevent the  obj.$delete instance method from sending the resource as the request body.  This commit uses the existing hasBody boolean to only set httpConfig.data for methods which should have a request body.

Closes #4280
</pre>
</div>
</content>
</entry>
<entry>
<title>fix($resource): pass transformed value to both callbacks and promises</title>
<updated>2013-10-03T00:03:53+00:00</updated>
<author>
<name>jankuca</name>
</author>
<published>2013-08-30T23:19:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=e36e28ebd4a6c144e47d11fba8e211d8d5a9d03e'/>
<id>e36e28ebd4a6c144e47d11fba8e211d8d5a9d03e</id>
<content type='text'>
Closes #3817
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Closes #3817
</pre>
</div>
</content>
</entry>
<entry>
<title>docs(ngResource): fix typo</title>
<updated>2013-09-18T13:40:22+00:00</updated>
<author>
<name>Tim Statler</name>
</author>
<published>2013-09-01T20:11:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=2fb36cbd50acfa580454fd520c966c1e231d8c49'/>
<id>2fb36cbd50acfa580454fd520c966c1e231d8c49</id>
<content type='text'>
Closes #3835
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Closes #3835
</pre>
</div>
</content>
</entry>
<entry>
<title>docs(module): improve the installation instructions for optional modules</title>
<updated>2013-08-22T23:55:54+00:00</updated>
<author>
<name>Brian Ford</name>
</author>
<published>2013-08-22T19:32:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=57c43dd3762ea665125bff7e4727bce06a225b32'/>
<id>57c43dd3762ea665125bff7e4727bce06a225b32</id>
<content type='text'>
Currently, the documentation does a bad job of explaining the distinction between the services that it provides,
and the module itself. Furthermore, the instructions for using optional modules are inconsistent or missing.
This commit addresses the problem by ading a new `{@installModule foo}` annotation to the docs generator that
inlines the appropriate instructions based on the name of the module.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Currently, the documentation does a bad job of explaining the distinction between the services that it provides,
and the module itself. Furthermore, the instructions for using optional modules are inconsistent or missing.
This commit addresses the problem by ading a new `{@installModule foo}` annotation to the docs generator that
inlines the appropriate instructions based on the name of the module.
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(docs): Replace missing end tilde in resource docs for minerr.</title>
<updated>2013-08-21T23:43:03+00:00</updated>
<author>
<name>Adam Shannon</name>
</author>
<published>2013-08-19T19:33:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=8ee9a3e902e523577f9ea331af56c7bad6b4eea9'/>
<id>8ee9a3e902e523577f9ea331af56c7bad6b4eea9</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>style(minerr): prefer component name as namespace</title>
<updated>2013-08-09T21:12:04+00:00</updated>
<author>
<name>Ken Sheedlo</name>
</author>
<published>2013-08-09T18:14:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=45dc9ee7b4a1e004f9fb7edde41d4805d1402ffa'/>
<id>45dc9ee7b4a1e004f9fb7edde41d4805d1402ffa</id>
<content type='text'>
Closes #3527
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Closes #3527
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(resource): check whether response matches action.isArray</title>
<updated>2013-07-31T20:17:37+00:00</updated>
<author>
<name>Pete Bacon Darwin</name>
</author>
<published>2013-07-30T21:48:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=a644ca7b4e6ba84a467bcabed8f99386eda7fb14'/>
<id>a644ca7b4e6ba84a467bcabed8f99386eda7fb14</id>
<content type='text'>
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
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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
</pre>
</div>
</content>
</entry>
<entry>
<title>feat(Angular): provide minErr as public property</title>
<updated>2013-07-18T21:02:36+00:00</updated>
<author>
<name>Pete Bacon Darwin</name>
</author>
<published>2013-07-08T13:42:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=ef4458a798b6736050436bb63e5a5c90ce958790'/>
<id>ef4458a798b6736050436bb63e5a5c90ce958790</id>
<content type='text'>
This allows us to use minErr in other modules, such as resource and sanitize.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This allows us to use minErr in other modules, such as resource and sanitize.
</pre>
</div>
</content>
</entry>
</feed>
