provider(name, provider); Register a provider function with the $injector. Provider functions are constructor functions
service(name, constructor); Register a service constructor, which will be invoked with new to create the
Name Description $injector $injector is used to retrieve object instances as defined
get(name, [caller]); Return an instance of the service. Parameters
has(name); Allows the user to query if the particular service exists. Parameters
Implicit module which gets automatically added to each $injector. Module Components
annotate(fn, [strictDi]); Returns an array of service names which the function is requesting for injection. This API is used by the
constant(name, value); Register a constant service with the $injector, such as a string, a number, an array, an object
instantiate(Type, [locals]); Create a new instance of JS type. The method takes a constructor function, invokes the new operator, and
value(name, value); Register a value service with the $injector, such as a string, a number, an array, an object or
Page 1 of 2