MCPcopy Index your code
hub / github.com/angular/angular / replace

Method replace

packages/common/upgrade/src/location_shim.ts:729–732  ·  view source on GitHub ↗

* Changes to `$location` during the current `$digest` will replace the current * history record, instead of adding a new one.

()

Source from the content-addressed store, hash-verified

727 * history record, instead of adding a new one.
728 */
729 replace(): this {
730 this.$$replace = true;
731 return this;
732 }
733
734 /**
735 * Retrieves the history state object when called without any parameter.

Callers 15

_escapeSelectorValueMethod · 0.45
shimContentAttributeFunction · 0.45
shimHostAttributeFunction · 0.45
shimStylesContentFunction · 0.45
initializeSwForFunction · 0.45
isNavigationRequestMethod · 0.45
stripQueryAndHashMethod · 0.45
joinPathsFunction · 0.45
requestSubscriptionMethod · 0.45
urlToRegexFunction · 0.45

Calls

no outgoing calls

Tested by 3

normalizeTemplateContentFunction · 0.36
parseConfigFunction · 0.36
parseConfigFunction · 0.36