@@ -56,9 +56,9 @@ module definitions. The sole responsibilities of the injector are to load specif
56
56
definition(s), register all service providers defined in these modules and when asked inject
57
57
a specified function with dependencies (services) that it lazily instantiates via their providers.
58
58
59
- Providers are objects that provide (create) instances of services and expose configuration apis
59
+ Providers are objects that provide (create) instances of services and expose configuration APIs
60
60
that can be used to control the creation and runtime behavior of a service. In case of the `$route`
61
- service, the `$routeProvider` exposes apis that allow you to define routes for your application.
61
+ service, the `$routeProvider` exposes APIs that allow you to define routes for your application.
62
62
63
63
Angular modules solve the problem of removing global state from the application and provide a way
64
64
of configuring the injector. As opposed to AMD or require.js modules, Angular modules don't try to
@@ -79,8 +79,8 @@ angular.module('phonecat', []).
79
79
</pre>
80
80
81
81
In order to configure our application with routes, we need to create a module for our application.
82
- We call this module `phonecatApp` and using the `config` api we request the `$routeProvider` to be
83
- injected into our config function and use `$routeProvider.when` api to define our routes.
82
+ We call this module `phonecatApp` and using the `config` API we request the `$routeProvider` to be
83
+ injected into our config function and use `$routeProvider.when` API to define our routes.
84
84
85
85
Note that during the injector configuration phase, the providers can be injected as well, but they
86
86
will not be available for injection once the injector is created and starts creating service
0 commit comments