Interface IAngularStatic

Index

Properties

Methods

Properties

public element: IAugmentedJQueryStatic

public version: { full: string; major: number; minor: number; dot: number; codename: string; }

public version.codename: string

public version.dot: number

public version.full: string

public version.major: number

public version.minor: number

Methods

public bind(context: any, fn: Function, args?: Array<any>): Function

Parameters

  • context: any
  • fn: Function
  • args?: Array<any> optional

Returns

Function

public bootstrap(element: string, modules?: Array<any>): IInjectorService

Parameters

  • element: string
  • modules?: Array<any> optional

Returns

IInjectorService

public bootstrap(element: JQuery, modules?: Array<any>): IInjectorService

Parameters

  • element: JQuery
  • modules?: Array<any> optional

Returns

IInjectorService

public bootstrap(element: Element, modules?: Array<any>): IInjectorService

Parameters

  • element: Element
  • modules?: Array<any> optional

Returns

IInjectorService

public bootstrap(element: Document, modules?: Array<any>): IInjectorService

Parameters

  • element: Document
  • modules?: Array<any> optional

Returns

IInjectorService

public copy(source: any, destination?: any): any

Parameters

  • source: any
  • destination?: any optional

Returns

any

public equals(value1: any, value2: any): boolean

Parameters

  • value1: any
  • value2: any

Returns

boolean

public extend(destination: any, sources?: Array<any>): any

Parameters

  • destination: any
  • sources?: Array<any> optional

Returns

any

public forEach(obj: any, iterator: (value: any, key: any) => any, context?: any): any

Parameters

  • obj: any
  • iterator: (value: any, key: any) => any
  • context?: any optional

Returns

any

public fromJson(json: string): any

Parameters

  • json: string

Returns

any

public identity(arg?: any): any

Parameters

  • arg?: any optional

Returns

any

public injector(modules?: Array<any>): IInjectorService

Parameters

  • modules?: Array<any> optional

Returns

IInjectorService

public isArray(value: any): boolean

Parameters

  • value: any

Returns

boolean

public isDate(value: any): boolean

Parameters

  • value: any

Returns

boolean

public isDefined(value: any): boolean

Parameters

  • value: any

Returns

boolean

public isElement(value: any): boolean

Parameters

  • value: any

Returns

boolean

public isFunction(value: any): boolean

Parameters

  • value: any

Returns

boolean

public isNumber(value: any): boolean

Parameters

  • value: any

Returns

boolean

public isObject(value: any): boolean

Parameters

  • value: any

Returns

boolean

public isString(value: any): boolean

Parameters

  • value: any

Returns

boolean

public isUndefined(value: any): boolean

Parameters

  • value: any

Returns

boolean

public lowercase(str: string): string

Parameters

  • str: string

Returns

string

public module(name: string, requires?: Array<string>, configFn?: Function): IModule

The angular.module is a global place for creating, registering and retrieving Angular modules. All modules (angular core or 3rd party) that should be available to an application must be registered using this mechanism.

When passed two or more arguments, a new module is created. If passed only one argument, an existing module (the name passed as the first argument to module) is retrieved.

Parameters

  • name: string

    The name of the module to create or retrieve.

  • requires?: Array<string> optional

    The names of modules this module depends on. If specified then new module is being created. If unspecified then the module is being retrieved for further configuration.

  • configFn?: Function optional

    Optional configuration function for the module.

Returns

IModule

public noop(args?: Array<any>)

Parameters

  • args?: Array<any> optional

public toJson(obj: any, pretty?: boolean): string

Parameters

  • obj: any
  • pretty?: boolean optional

Returns

string

public uppercase(str: string): string

Parameters

  • str: string

Returns

string