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

docs($location): minor english improvements #13072

Closed
wants to merge 3 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions src/ng/location.js
Original file line number Diff line number Diff line change
Expand Up @@ -574,9 +574,9 @@ var locationPrototype = {
* @description
* This method is getter / setter.
*
* Return hash fragment when called without any parameter.
* Returns the hash fragment when called without any parameters.
*
* Change hash fragment when called with parameter and return `$location`.
* Changes the hash fragment when called with a parameter and returns `$location`.
*
*
* ```js
Expand All @@ -597,8 +597,8 @@ var locationPrototype = {
* @name $location#replace
*
* @description
* If called, all changes to $location during current `$digest` will be replacing current history
* record, instead of adding new one.
* If called, all changes to $location during the current `$digest` will replace the current history
* record, instead of adding a new one.
*/
replace: function() {
this.$$replace = true;
Expand Down