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

Function beginPhase

test/angular/1.3/angular.js:14922–14928  ·  view source on GitHub ↗
(phase)

Source from the content-addressed store, hash-verified

14920
14921
14922 function beginPhase(phase) {
14923 if ($rootScope.$$phase) {
14924 throw $rootScopeMinErr('inprog', '{0} already in progress', $rootScope.$$phase);
14925 }
14926
14927 $rootScope.$$phase = phase;
14928 }
14929
14930 function clearPhase() {
14931 $rootScope.$$phase = null;

Callers 1

$RootScopeProviderFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected