Annotation
Static Method Summary
Static Public Methods | ||
public static |
getAnnotationServiceNames(classes: *[]): * |
|
public static |
getModuleNames(classes: Array): Array Returns all the angular module names for an array of classes
|
Constructor Summary
Public Constructor | ||
public |
constructor(name: *, targetCls: *) |
Member Summary
Public Members | ||
public get |
decorators: * |
|
public get |
dependencies: * |
|
public get |
injections: * |
|
public |
name: * |
|
public |
targetCls: * |
Method Summary
Public Methods | ||
public |
applyClassDecorators(targetCls: Object) this method was deprecated.
This method decorates the class with all the targetCls decorators
|
|
public |
applyDecorators(instance: Object) this method was deprecated.
This method decorates the created instance with all the
targetCls decorators
|
|
public |
applyInjectionBindings(instance: Object, injected: Array) This method applies all the requested injection bindings
from the targetCls to the created instance
|
|
public |
This method can be overridden by child classes to
configure the angular module after it is created
|
|
public |
getInjectionTokens(): * |
Static Public Methods
public static getAnnotationServiceNames(classes: *[]): * source
Params:
Name | Type | Attribute | Description |
classes | *[] |
|
Return:
* |
Public Constructors
public constructor(name: *, targetCls: *) source
Params:
Name | Type | Attribute | Description |
name | * | ||
targetCls | * |
Public Members
public get decorators: * source
public get dependencies: * source
public get injections: * source
public name: * source
public targetCls: * source
Public Methods
public applyClassDecorators(targetCls: Object) source
This method decorates the class with all the targetCls decorators
Params:
Name | Type | Attribute | Description |
targetCls | Object | The targetCls to be decorated |
public applyDecorators(instance: Object) source
This method decorates the created instance with all the targetCls decorators
Params:
Name | Type | Attribute | Description |
instance | Object | The created instance to be decorated |
public applyInjectionBindings(instance: Object, injected: Array) source
This method applies all the requested injection bindings from the targetCls to the created instance