File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -574,9 +574,9 @@ var locationPrototype = {
574
574
* @description
575
575
* This method is getter / setter.
576
576
*
577
- * Return hash fragment when called without any parameter .
577
+ * Returns the hash fragment when called without any parameters .
578
578
*
579
- * Change hash fragment when called with parameter and return `$location`.
579
+ * Changes the hash fragment when called with a parameter and returns `$location`.
580
580
*
581
581
*
582
582
* ```js
@@ -597,8 +597,8 @@ var locationPrototype = {
597
597
* @name $location#replace
598
598
*
599
599
* @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.
602
602
*/
603
603
replace : function ( ) {
604
604
this . $$replace = true ;
You can’t perform that action at this time.
0 commit comments