diff options
| author | Matt Rohrer | 2012-09-26 15:30:55 +0200 |
|---|---|---|
| committer | Brian Ford | 2013-01-17 19:10:46 -0500 |
| commit | 93070f14885801de7e264b04fdf4cb54b7dc7d9b (patch) | |
| tree | 9a96a5e4c8ea0e18dc775c2b92bc148c57c00a87 /docs/content/guide/dev_guide.services.understanding_services.ngdoc | |
| parent | 3c8583e5dd10ff356ac473f53e920fb10eb41571 (diff) | |
| download | angular.js-93070f14885801de7e264b04fdf4cb54b7dc7d9b.tar.bz2 | |
docs(guide): minor grammar fixes
Diffstat (limited to 'docs/content/guide/dev_guide.services.understanding_services.ngdoc')
| -rw-r--r-- | docs/content/guide/dev_guide.services.understanding_services.ngdoc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/content/guide/dev_guide.services.understanding_services.ngdoc b/docs/content/guide/dev_guide.services.understanding_services.ngdoc index a580c2a5..339439a0 100644 --- a/docs/content/guide/dev_guide.services.understanding_services.ngdoc +++ b/docs/content/guide/dev_guide.services.understanding_services.ngdoc @@ -6,9 +6,9 @@ Angular services are singletons that carry out specific tasks common to web apps {@link api/ng.$http $http service} that provides low level access to the browser's `XMLHttpRequest` object. -To use an angular service, you identify it as a dependency for the dependent (a controller, or +To use an Angular service, you identify it as a dependency for the dependent (a controller, or another service) that depends on the service. Angular's dependency injection subsystem takes care -of the rest. The angular injector subsystem is in charge of service instantiation, resolution of +of the rest. The Angular injector subsystem is in charge of service instantiation, resolution of dependencies, and provision of dependencies to factory functions as requested. Angular injects dependencies using "constructor" injection (the service is passed in via a factory @@ -18,7 +18,7 @@ must explicitly define its dependencies by using the `$inject` property. For ex myController.$inject = ['$location']; -The angular web framework provides a set of services for common operations. Like other core angular +The Angular web framework provides a set of services for common operations. Like other core Angular variables and identifiers, the built-in services always start with `$` (such as `$http` mentioned above). You can also create your own custom services. |
