This repository was archived by the owner on Apr 12, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -34,16 +34,17 @@ angular.module('ngCookies', ['ng']).
3434 * The object may have following properties:
3535 *
3636 * - **path** - `{string}` - The cookie will be available only for this path and its
37- * sub-paths. By default, this would be the URL that appears in your base tag.
37+ * sub-paths. By default, this is the URL that appears in your `< base>` tag.
3838 * - **domain** - `{string}` - The cookie will be available only for this domain and
39- * its sub-domains. For obvious security reasons the user agent will not accept the
40- * cookie if the current domain is not a sub domain or equals to the requested domain .
39+ * its sub-domains. For security reasons the user agent will not accept the cookie
40+ * if the current domain is not a sub-domain of this domain or equal to it .
4141 * - **expires** - `{string|Date}` - String of the form "Wdy, DD Mon YYYY HH:MM:SS GMT"
4242 * or a Date object indicating the exact date/time this cookie will expire.
43- * - **secure** - `{boolean}` - The cookie will be available only in secured connection.
43+ * - **secure** - `{boolean}` - If `true`, then the cookie will only be available through a
44+ * secured connection.
4445 *
45- * Note: by default the address that appears in your `<base>` tag will be used as path.
46- * This is important so that cookies will be visible for all routes in case html5mode is enabled
46+ * Note: By default, the address that appears in your `<base>` tag will be used as the path.
47+ * This is important so that cookies will be visible for all routes when html5mode is enabled.
4748 *
4849 **/
4950 var defaults = this . defaults = { } ;
You can’t perform that action at this time.
0 commit comments