Methods
public animation( name: string , animationFactory: Function ) : IModule
Defined in js/angular.d.ts:85
Parameters
name: string
animationFactory: Function
Returns
IModule
public animation( name: string , inlineAnnotatedFunction: Array<any> ) : IModule
Defined in js/angular.d.ts:86
Parameters
name: string
inlineAnnotatedFunction: Array<any>
Returns
IModule
public animation( object: Object ) : IModule
Defined in js/angular.d.ts:87
Parameters
Returns
IModule
public config( configFn: Function ) : IModule
Defined in js/angular.d.ts:93
Use this method to register work which needs to be performed on module loading.
Parameters
Returns
IModule
public config( inlineAnnotatedFunction: Array<any> ) : IModule
Defined in js/angular.d.ts:99
Use this method to register work which needs to be performed on module loading.
Parameters
Returns
IModule
public constant( name: string , value: any ) : IModule
Defined in js/angular.d.ts:100
Parameters
Returns
IModule
public constant( object: Object ) : IModule
Defined in js/angular.d.ts:101
Parameters
Returns
IModule
public controller( name: string , controllerConstructor: Function ) : IModule
Defined in js/angular.d.ts:110
The $controller service is used by Angular to create new controllers.
This provider allows controller registration via the register method.
Parameters
name: string
Controller name, or an object map of controllers where the keys are the names and the values are the constructors.
controllerConstructor: Function
Controller constructor fn (optionally decorated with DI annotations in the array notation).
Returns
IModule
public controller( name: string , inlineAnnotatedConstructor: Array<any> ) : IModule
Defined in js/angular.d.ts:119
The $controller service is used by Angular to create new controllers.
This provider allows controller registration via the register method.
Parameters
Returns
IModule
public controller( object: Object ) : IModule
Defined in js/angular.d.ts:120
Parameters
Returns
IModule
public directive( name: string , directiveFactory: Function ) : IModule
Defined in js/angular.d.ts:121
Parameters
name: string
directiveFactory: Function
Returns
IModule
public directive( name: string , inlineAnnotatedFunction: Array<any> ) : IModule
Defined in js/angular.d.ts:122
Parameters
name: string
inlineAnnotatedFunction: Array<any>
Returns
IModule
public directive( object: Object ) : IModule
Defined in js/angular.d.ts:123
Parameters
Returns
IModule
public factory( name: string , serviceFactoryFunction: Function ) : IModule
Defined in js/angular.d.ts:130
Register a service factory, which will be called to return the service instance. This is short for registering a service where its provider consists of only a $get property, which is the given service factory function. You should use $provide.factory(getFn) if you do not need to configure your service in a provider.
Parameters
Returns
IModule
public factory( name: string , inlineAnnotatedFunction: Array<any> ) : IModule
Defined in js/angular.d.ts:137
Register a service factory, which will be called to return the service instance. This is short for registering a service where its provider consists of only a $get property, which is the given service factory function. You should use $provide.factory(getFn) if you do not need to configure your service in a provider.
Parameters
name: string
The name of the instance.
inlineAnnotatedFunction: Array<any>
The $getFn for the instance creation. Internally this is a short hand for $provide.provider(name, {$get: $getFn}).
Returns
IModule
public factory( object: Object ) : IModule
Defined in js/angular.d.ts:138
Parameters
Returns
IModule
public filter( name: string , filterFactoryFunction: Function ) : IModule
Defined in js/angular.d.ts:139
Parameters
name: string
filterFactoryFunction: Function
Returns
IModule
public filter( name: string , inlineAnnotatedFunction: Array<any> ) : IModule
Defined in js/angular.d.ts:140
Parameters
name: string
inlineAnnotatedFunction: Array<any>
Returns
IModule
public filter( object: Object ) : IModule
Defined in js/angular.d.ts:141
Parameters
Returns
IModule
public provider( name: string , serviceProviderConstructor: Function ) : IModule
Defined in js/angular.d.ts:142
Parameters
name: string
serviceProviderConstructor: Function
Returns
IModule
public provider( name: string , inlineAnnotatedConstructor: Array<any> ) : IModule
Defined in js/angular.d.ts:143
Parameters
name: string
inlineAnnotatedConstructor: Array<any>
Returns
IModule
public provider( name: string , providerObject: IProvider ) : IModule
Defined in js/angular.d.ts:144
Parameters
Returns
IModule
public provider( object: Object ) : IModule
Defined in js/angular.d.ts:145
Parameters
Returns
IModule
public run( initializationFunction: Function ) : IModule
Defined in js/angular.d.ts:146
Parameters
initializationFunction: Function
Returns
IModule
public run( inlineAnnotatedFunction: Array<any> ) : IModule
Defined in js/angular.d.ts:147
Parameters
inlineAnnotatedFunction: Array<any>
Returns
IModule
public service( name: string , serviceConstructor: Function ) : IModule
Defined in js/angular.d.ts:148
Parameters
name: string
serviceConstructor: Function
Returns
IModule
public service( name: string , inlineAnnotatedConstructor: Array<any> ) : IModule
Defined in js/angular.d.ts:149
Parameters
name: string
inlineAnnotatedConstructor: Array<any>
Returns
IModule
public service( object: Object ) : IModule
Defined in js/angular.d.ts:150
Parameters
Returns
IModule
public value( name: string , value: any ) : IModule
Defined in js/angular.d.ts:151
Parameters
Returns
IModule
public value( object: Object ) : IModule
Defined in js/angular.d.ts:152
Parameters
Returns
IModule