diff --git a/docs/content/guide/dev_guide.services.$location.ngdoc b/docs/content/guide/dev_guide.services.$location.ngdoc index b0178ecf..1720d473 100644 --- a/docs/content/guide/dev_guide.services.$location.ngdoc +++ b/docs/content/guide/dev_guide.services.$location.ngdoc @@ -121,6 +121,8 @@ All of the setter methods return the same `$location` object to allow chaining. change multiple segments in one go, chain setters like this:
$location.path('/newValue').search({key: value});
+## Replace method + There is a special `replace` method which can be used to tell the $location service that the next time the $location service is synced with the browser, the last history record should be replaced instead of creating a new one. This is useful when you want to implement redirection, which would