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

Function beginPhase

test/angular/1.5/angular.js:18355–18361  ·  view source on GitHub ↗
(phase)

Source from the content-addressed store, hash-verified

18353
18354
18355 function beginPhase(phase) {
18356 if ($rootScope.$$phase) {
18357 throw $rootScopeMinErr('inprog', '{0} already in progress', $rootScope.$$phase);
18358 }
18359
18360 $rootScope.$$phase = phase;
18361 }
18362
18363 function clearPhase() {
18364 $rootScope.$$phase = null;

Callers 1

$RootScopeProviderFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected