diff --git a/src/ng/browser.js b/src/ng/browser.js index 3bb51b57606d..73606fe7c2d8 100644 --- a/src/ng/browser.js +++ b/src/ng/browser.js @@ -202,7 +202,7 @@ function Browser(window, document, $log, $sniffer) { * @description * Register callback function that will be called, when url changes. * - * It's only called when the url is changed by outside of angular: + * It's only called when the url is changed from outside of angular: * - user types different url into address bar * - user clicks on history (forward/back) button * - user clicks on a link @@ -244,7 +244,7 @@ function Browser(window, document, $log, $sniffer) { /** * @name ng.$browser#baseHref * @methodOf ng.$browser - * + * * @description * Returns current * (always relative - without domain) @@ -275,13 +275,13 @@ function Browser(window, document, $log, $sniffer) { * It is not meant to be used directly, use the $cookie service instead. * * The return values vary depending on the arguments that the method was called with as follows: - * + * * - cookies() -> hash of all cookies, this is NOT a copy of the internal state, so do not modify * it * - cookies(name, value) -> set name to value, if value is undefined delete the cookie * - cookies(name) -> the same as (name, undefined) == DELETES (no one calls it right now that * way) - * + * * @returns {Object} Hash of all cookies (if called without any parameter) */ self.cookies = function(name, value) {