Module AngularJSCore

Provides the core classes for working with AngularJS applications.

As the module grows, large features might move to separate files.

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

semmle.javascript.frameworks.AngularJS.AngularJSCore

Imports

javascript

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

Predicates

angular

Holds if nd is a reference to the angular variable.

isAngularRef

DEPRECATED: Use angular() instead.

moduleRef

Holds if nd is a reference to module m, that is, it is either a definition of m, a lookup of m, or a chained method call on m.

routeProviderRef

Holds if nd is a reference to the $routeProvider service, that is, it is either an access of $routeProvider, or a chained method call on $routeProvider.

Classes

AngularJSCall

A call to an AngularJS function.

AngularModule

An AngularJS module.

AngularScope

An abstract representation of a set of AngularJS scope objects.

BuiltinDirective

A built-in AngularJS directive.

ComponentDirective

An AngularJS component defined by angular.component.

Controller

An AngularJS controller instance.

CustomDirective

A custom AngularJS directive, either a general directive defined by angular.directive or a component defined by angular.component.

DirectiveInstance

An AngularJS directive, either built-in or custom.

DirectiveTarget

A syntactic element to which an AngularJS directive can be attached.

DirectiveTargetName

The name of a directive target.

DirectiveTargetType

The type of a directive target, indicating whether it is an element (“E”), an attribute (“A”), a class name (“C”) or a comment (“M”).

ElementScope

An abstract representation of all the AngularJS scope objects for a DOM element.

GeneralDirective

A custom AngularJS directive defined by angular.directive.

HtmlFileScope

An abstract representation of all the AngularJS scope objects in an HTML file.

IsolateScope

An abstract representation of the AngularJS isolate scope of a directive.

LinkFunction

A link-function used in a custom AngularJS directive.

ModuleApiCall

A call to a method from the angular.Module API.

ModuleApiCallDependencyInjection
RouteSetup

A setup of an AngularJS “route”, using the $routeProvider API.