assertInInjectionContext
function
Asserts that the current stack frame is within an injection
context and has access to inject.
API
assertInInjectionContext( debugFn: Function): void;Jump to details
Asserts that the current stack frame is within an injection
context and has access to inject.
assertInInjectionContext( debugFn: Function): void;