(phase)
| 8330 | |
| 8331 | |
| 8332 | function beginPhase(phase) { |
| 8333 | if ($rootScope.$$phase) { |
| 8334 | throw Error($rootScope.$$phase + ' already in progress'); |
| 8335 | } |
| 8336 | |
| 8337 | $rootScope.$$phase = phase; |
| 8338 | } |
| 8339 | |
| 8340 | function clearPhase() { |
| 8341 | $rootScope.$$phase = null; |
no test coverage detected