File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -574,9 +574,9 @@ var locationPrototype = {
574574 * @description
575575 * This method is getter / setter.
576576 *
577- * Return hash fragment when called without any parameter .
577+ * Returns the hash fragment when called without any parameters .
578578 *
579- * Change hash fragment when called with parameter and return `$location`.
579+ * Changes the hash fragment when called with a parameter and returns `$location`.
580580 *
581581 *
582582 * ```js
@@ -597,8 +597,8 @@ var locationPrototype = {
597597 * @name $location#replace
598598 *
599599 * @description
600- * If called, all changes to $location during current `$digest` will be replacing current history
601- * record, instead of adding new one.
600+ * If called, all changes to $location during the current `$digest` will replace the current history
601+ * record, instead of adding a new one.
602602 */
603603 replace : function ( ) {
604604 this . $$replace = true ;
You can’t perform that action at this time.
0 commit comments