aboutsummaryrefslogtreecommitdiffstats
path: root/src/ngResource/resource.js
diff options
context:
space:
mode:
authorPascal Borreli2013-03-21 19:09:47 +0000
committerPawel Kozlowski2013-03-29 23:14:55 +0100
commit9480136d9f062ec4b8df0a35914b48c0d61e0002 (patch)
tree5d345c7be4f20b4ad688ede7ed6be4147a91cb45 /src/ngResource/resource.js
parent4ae46814ff4e7c0bbcdbbefc0a97277283a84065 (diff)
downloadangular.js-9480136d9f062ec4b8df0a35914b48c0d61e0002.tar.bz2
docs(*): fixed typos
Diffstat (limited to 'src/ngResource/resource.js')
-rw-r--r--src/ngResource/resource.js8
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 / ":" / "@"