Complete the full implementation of the AngularJS dependency injection.
Add the high–level features that most application developers use every day.
Issue Checklist
[ ] How inject an $injector and how that $injector may be either the provider injector or the instance injector depending on where you’re injecting it.
[ ] How inject $provide and register additional components in config blocks, function modules.
[ ] How config blocks work, and how they are implemented by simply invoking them with the provider injector.
[ ] How a config block can be specified as the third argument to angular.module.
[ ] How run blocks work, and how they are implemented by simply invoking them with the instance injector.
[ ] That run blocks are deferred to a moment when all modules are loaded.
[ ] How define a function module, which is essentially the same as a config block.
[ ] How Angular’s internal hash key and hash map implementations work, and how they deal with compound data structures by adding a $$hashKey attribute.
[ ] How factories are implemented on top of providers.
[ ] How values are implemented on top of factories.
[ ] How services are implemented on top of factories.
[ ] How decorators work, by overriding the $get method of the provider they decorate.
[ ] How decorators use the locals argument of injector.invoke to make the decorated $delegate available for injection.
[ ] That there’s an ng module that holds Angular’s core components in every Angular application.
[ ] How filters, scopes, and the expression parser integrate with the dependency injection features.
[ ] How adjust the digest TTL by calling a method on $rootScopeProvider.
Description
Complete the full implementation of the AngularJS dependency injection. Add the high–level features that most application developers use every day.
Issue Checklist
$injector
and how that$injector
may be either the provider injector or the instance injector depending on where you’re injecting it.$provide
and register additional components in config blocks, function modules.angular.module
.$$hashKey
attribute.$get
method of the provider they decorate.locals
argument ofinjector.invoke
to make the decorated$delegate
available for injection.ng
module that holds Angular’s core components in every Angular application.$rootScopeProvider
.All issues in milestone: 0.4.0 milestone
Assignees