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

Function beginPhase

test/angular/1.7/angular.js:19759–19765  ·  view source on GitHub ↗
(phase)

Source from the content-addressed store, hash-verified

19757
19758
19759 function beginPhase(phase) {
19760 if ($rootScope.$$phase) {
19761 throw $rootScopeMinErr('inprog', '{0} already in progress', $rootScope.$$phase);
19762 }
19763
19764 $rootScope.$$phase = phase;
19765 }
19766
19767 function clearPhase() {
19768 $rootScope.$$phase = null;

Callers 1

$RootScopeProviderFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected