auto.
  • References/JavaScript/AngularJS/auto/auto.provide

provider(name, provider); Register a provider function with the $injector. Provider functions are constructor functions

2025-01-10 15:47:30
auto.
  • References/JavaScript/AngularJS/auto/auto.provide

service(name, constructor); Register a service constructor, which will be invoked with new to create the

2025-01-10 15:47:30
auto.service
  • References/JavaScript/AngularJS/auto

Name Description $injector $injector is used to retrieve object instances as defined

2025-01-10 15:47:30
auto.
  • References/JavaScript/AngularJS/auto/auto.injector

get(name, [caller]); Return an instance of the service. Parameters

2025-01-10 15:47:30
auto.
  • References/JavaScript/AngularJS/auto/auto.injector

has(name); Allows the user to query if the particular service exists. Parameters

2025-01-10 15:47:30
auto
  • References/JavaScript/AngularJS/auto

Implicit module which gets automatically added to each $injector. Module Components

2025-01-10 15:47:30
auto.
  • References/JavaScript/AngularJS/auto/auto.injector

annotate(fn, [strictDi]); Returns an array of service names which the function is requesting for injection. This API is used by the

2025-01-10 15:47:30
auto.
  • References/JavaScript/AngularJS/auto/auto.provide

constant(name, value); Register a constant service with the $injector, such as a string, a number, an array, an object

2025-01-10 15:47:30
auto.
  • References/JavaScript/AngularJS/auto/auto.injector

instantiate(Type, [locals]); Create a new instance of JS type. The method takes a constructor function, invokes the new operator, and

2025-01-10 15:47:30
auto.
  • References/JavaScript/AngularJS/auto/auto.provide

value(name, value); Register a value service with the $injector, such as a string, a number, an array, an object or

2025-01-10 15:47:30