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

Function beginPhase

test/angular/1.2/angular.js:13173–13179  ·  view source on GitHub ↗
(phase)

Source from the content-addressed store, hash-verified

13171
13172
13173 function beginPhase(phase) {
13174 if ($rootScope.$$phase) {
13175 throw $rootScopeMinErr('inprog', '{0} already in progress', $rootScope.$$phase);
13176 }
13177
13178 $rootScope.$$phase = phase;
13179 }
13180
13181 function clearPhase() {
13182 $rootScope.$$phase = null;

Callers 1

$RootScopeProviderFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected