CodeQL library for JavaScript/TypeScript
codeql/javascript-all 0.8.15-dev (changelog, source)
Search

Module DependencyInjections

Provides classes for working with the AngularJS $injector methods.

INTERNAL: Do not import this module directly, import AngularJS instead.

NOTE: The API of this library is not stable yet and may change in the future.

Import path

import semmle.javascript.frameworks.AngularJS.DependencyInjections

Imports

javascript

Provides classes for working with JavaScript programs, as well as JSON, YAML and HTML.

Classes

DependencyInjection

An expression that dependency-inject some of its input with AngularJS dependency injection services.

InjectableFunction

An injectable function, that is, a function that could have its dependency parameters automatically provided by the AngularJS $inject service.

InjectorInvokeCall

A call to $angular.injector().invoke(...)