diff options
| author | gdennie | 2013-09-22 11:56:25 -0400 | 
|---|---|---|
| committer | Pete Bacon Darwin | 2013-09-25 22:30:03 +0100 | 
| commit | ba279f9464cd74466702a51d881d1d53e7fb35b7 (patch) | |
| tree | 6d9ffed8b99deb801fad9c6c1674bb747da5be3e /docs/content/guide/dev_guide.services.$location.ngdoc | |
| parent | 94c8378f1800951726dd9468915e5dd0d13445ce (diff) | |
| download | angular.js-ba279f9464cd74466702a51d881d1d53e7fb35b7.tar.bz2 | |
docs(guide/$location): provide a title for section about `replace()`
Closes #4104
Diffstat (limited to 'docs/content/guide/dev_guide.services.$location.ngdoc')
| -rw-r--r-- | docs/content/guide/dev_guide.services.$location.ngdoc | 2 | 
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/content/guide/dev_guide.services.$location.ngdoc b/docs/content/guide/dev_guide.services.$location.ngdoc index ea853d9b..6548c68f 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:  <pre>$location.path('/newValue').search({key: value});</pre> +## 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  | 
