diff options
Diffstat (limited to 'src/ngResource/resource.js')
| -rw-r--r-- | src/ngResource/resource.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ngResource/resource.js b/src/ngResource/resource.js index ddd260bd..dd3fe3a6 100644 --- a/src/ngResource/resource.js +++ b/src/ngResource/resource.js @@ -27,14 +27,14 @@ * * and you ready to get started! * - * @param {string} url A parameterized URL template with parameters prefixed by `:` as in + * @param {string} url A parametrized URL template with parameters prefixed by `:` as in * `/user/:username`. If you are using a URL with a port number (e.g. * `http://example.com:8080/api`), you'll need to escape the colon character before the port * number, like this: `$resource('http://example.com\\:8080/api')`. * * @param {Object=} paramDefaults Default values for `url` parameters. These can be overridden in * `actions` methods. If any of the parameter value is a function, it will be executed every time - * when a param value needs to be obtained for a request (unless the param was overriden). + * when a param value needs to be obtained for a request (unless the param was overridden). * * Each key value in the parameter object is first bound to url template if present and then any * excess keys are appended to the url search query after the `?`. @@ -61,7 +61,7 @@ * and `JSONP`. * - **`params`** – {Object=} – Optional set of pre-bound parameters for this action. If any of the * parameter value is a function, it will be executed every time when a param value needs to be - * obtained for a request (unless the param was overriden). + * obtained for a request (unless the param was overridden). * - **`url`** – {string} – action specific `url` override. The url templating is supported just like * for the resource-level urls. * - **`isArray`** – {boolean=} – If true then the returned object for this action is an array, see @@ -296,7 +296,7 @@ angular.module('ngResource', ['ng']). /** * This method is intended for encoding *key* or *value* parts of query component. We need a custom - * method becuase encodeURIComponent is too agressive and encodes stuff that doesn't have to be + * method because encodeURIComponent is too aggressive and encodes stuff that doesn't have to be * encoded per http://tools.ietf.org/html/rfc3986: * query = *( pchar / "/" / "?" ) * pchar = unreserved / pct-encoded / sub-delims / ":" / "@" |
