MCPcopy Index your code
hub / github.com/angular-ui/ui-router / beginPhase

Function beginPhase

test/angular/1.6/angular.js:19159–19165  ·  view source on GitHub ↗
(phase)

Source from the content-addressed store, hash-verified

19157
19158
19159 function beginPhase(phase) {
19160 if ($rootScope.$$phase) {
19161 throw $rootScopeMinErr('inprog', '{0} already in progress', $rootScope.$$phase);
19162 }
19163
19164 $rootScope.$$phase = phase;
19165 }
19166
19167 function clearPhase() {
19168 $rootScope.$$phase = null;

Callers 1

$RootScopeProviderFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected