Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit 00d2b2c

Browse files
bertyhellNarretz
authored andcommittedOct 30, 2015
docs($location): improve style
Closes #13072
1 parent e688f07 commit 00d2b2c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed
 

‎src/ng/location.js

+4-4
Original file line numberDiff line numberDiff 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;

0 commit comments

Comments
 (0)
This repository has been archived.