|
27 | 27 | *
|
28 | 28 | * and you ready to get started!
|
29 | 29 | *
|
30 |
| - * @param {string} url A parameterized URL template with parameters prefixed by `:` as in |
| 30 | + * @param {string} url A parametrized URL template with parameters prefixed by `:` as in |
31 | 31 | * `/user/:username`. If you are using a URL with a port number (e.g.
|
32 | 32 | * `http://example.com:8080/api`), you'll need to escape the colon character before the port
|
33 | 33 | * number, like this: `$resource('http://example.com\\:8080/api')`.
|
34 | 34 | *
|
35 | 35 | * @param {Object=} paramDefaults Default values for `url` parameters. These can be overridden in
|
36 | 36 | * `actions` methods. If any of the parameter value is a function, it will be executed every time
|
37 |
| - * when a param value needs to be obtained for a request (unless the param was overriden). |
| 37 | + * when a param value needs to be obtained for a request (unless the param was overridden). |
38 | 38 | *
|
39 | 39 | * Each key value in the parameter object is first bound to url template if present and then any
|
40 | 40 | * excess keys are appended to the url search query after the `?`.
|
|
61 | 61 | * and `JSONP`.
|
62 | 62 | * - **`params`** – {Object=} – Optional set of pre-bound parameters for this action. If any of the
|
63 | 63 | * parameter value is a function, it will be executed every time when a param value needs to be
|
64 |
| - * obtained for a request (unless the param was overriden). |
| 64 | + * obtained for a request (unless the param was overridden). |
65 | 65 | * - **`url`** – {string} – action specific `url` override. The url templating is supported just like
|
66 | 66 | * for the resource-level urls.
|
67 | 67 | * - **`isArray`** – {boolean=} – If true then the returned object for this action is an array, see
|
@@ -296,7 +296,7 @@ angular.module('ngResource', ['ng']).
|
296 | 296 |
|
297 | 297 | /**
|
298 | 298 | * This method is intended for encoding *key* or *value* parts of query component. We need a custom
|
299 |
| - * method becuase encodeURIComponent is too agressive and encodes stuff that doesn't have to be |
| 299 | + * method because encodeURIComponent is too aggressive and encodes stuff that doesn't have to be |
300 | 300 | * encoded per http://tools.ietf.org/html/rfc3986:
|
301 | 301 | * query = *( pchar / "/" / "?" )
|
302 | 302 | * pchar = unreserved / pct-encoded / sub-delims / ":" / "@"
|
|
0 commit comments