The name of the component.
A definition object passed into the component.
Use this method to register work which needs to be performed on module loading.
Execute this function on module load. Useful for service configuration.
Use this method to register work which needs to be performed on module loading.
Execute this function on module load. Useful for service configuration.
Register a constant service, such as a string, a number, an array, an object or a function, with the $injector. Unlike value it can be injected into a module configuration function (see config) and it cannot be overridden by an Angular decorator.
The name of the constant.
The constant value.
The $controller service is used by Angular to create new controllers.
This provider allows controller registration via the register method.
Controller name, or an object map of controllers where the keys are the names and the values are the constructors.
Controller constructor fn (optionally decorated with DI annotations in the array notation).
The $controller service is used by Angular to create new controllers.
This provider allows controller registration via the register method.
Controller name, or an object map of controllers where the keys are the names and the values are the constructors.
Register a service decorator with the $injector. A service decorator intercepts the creation of a service, allowing it to override or modify the behaviour of the service. The object returned by the decorator may be the original service, or a new service object which replaces or wraps and delegates to the original service.
The name of the service to decorate
Register a new directive with the compiler.
Name of the directive in camel-case (i.e. ngBind which will match as ng-bind)
An injectable directive factory function.
Register a new directive with the compiler.
Name of the directive in camel-case (i.e. ngBind which will match as ng-bind)
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.
The name of the instance.
The $getFn for the instance creation. Internally this is a short hand for $provide.provider(name, {$get: $getFn}).
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.
The name of the instance.
The $getFn for the instance creation. Internally this is a short hand for $provide.provider(name, {$get: $getFn}).
Run blocks are the closest thing in Angular to the main method. A run block is the code which needs to run to kickstart the application. It is executed after all of the service have been configured and the injector has been created. Run blocks typically contain code which is hard to unit-test, and for this reason should be declared in isolated modules, so that they can be ignored in the unit-tests.
Run blocks are the closest thing in Angular to the main method. A run block is the code which needs to run to kickstart the application. It is executed after all of the service have been configured and the injector has been created. Run blocks typically contain code which is hard to unit-test, and for this reason should be declared in isolated modules, so that they can be ignored in the unit-tests.
Register a service constructor, which will be invoked with new to create the service instance. This is short for registering a service where its provider's $get property is a factory function that returns an instance instantiated by the injector from the service constructor function.
The name of the instance.
An injectable class (constructor function) that will be instantiated.
Register a service constructor, which will be invoked with new to create the service instance. This is short for registering a service where its provider's $get property is a factory function that returns an instance instantiated by the injector from the service constructor function.
The name of the instance.
An injectable class (constructor function) that will be instantiated.
Register a value service with the $injector, such as a string, a number, an array, an object or a function. This is short for registering a service where its provider's $get property is a factory function that takes no arguments and returns the value service.
Value services are similar to constant services, except that they cannot be injected into a module configuration function (see config) but they can be overridden by an Angular decorator.
The name of the instance.
The value.
Generated using TypeDoc
Use this method to register a component.