(injector: IInjectorService)
| 14 | // the stored injector and release the reference to it. |
| 15 | let tempInjectorRef: IInjectorService | null = null; |
| 16 | export function setTempInjectorRef(injector: IInjectorService) { |
| 17 | tempInjectorRef = injector; |
| 18 | } |
| 19 | export function injectorFactory() { |
| 20 | if (!tempInjectorRef) { |
| 21 | throw new Error('Trying to get the AngularJS injector before it being set.'); |
no outgoing calls
no test coverage detected
searching dependent graphs…