MCPcopy Index your code
hub / github.com/angular/angular / $apply

Function $apply

packages/upgrade/static/test/integration/static_test_helpers.ts:42–45  ·  view source on GitHub ↗
(adapter: UpgradeModule, exp: angular.Ng1Expression)

Source from the content-addressed store, hash-verified

40}
41
42export function $apply(adapter: UpgradeModule, exp: angular.Ng1Expression) {
43 const $rootScope = adapter.$injector.get($ROOT_SCOPE) as angular.IRootScopeService;
44 $rootScope.$apply(exp);
45}
46
47export function $digest(adapter: UpgradeModule) {
48 const $rootScope = adapter.$injector.get($ROOT_SCOPE) as angular.IRootScopeService;

Callers 1

Calls 2

getMethod · 0.65
$applyMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…