MCPcopy
hub / github.com/angular-ui/ui-router / beginPhase

Function beginPhase

test/angular/1.4/angular.js:16740–16746  ·  view source on GitHub ↗
(phase)

Source from the content-addressed store, hash-verified

16738
16739
16740 function beginPhase(phase) {
16741 if ($rootScope.$$phase) {
16742 throw $rootScopeMinErr('inprog', '{0} already in progress', $rootScope.$$phase);
16743 }
16744
16745 $rootScope.$$phase = phase;
16746 }
16747
16748 function clearPhase() {
16749 $rootScope.$$phase = null;

Callers 1

$RootScopeProviderFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected