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.creating_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.creating_services.ngdoc')
| -rw-r--r-- | docs/content/guide/dev_guide.services.creating_services.ngdoc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/content/guide/dev_guide.services.creating_services.ngdoc b/docs/content/guide/dev_guide.services.creating_services.ngdoc index 355d3243..d5adc4ba 100644 --- a/docs/content/guide/dev_guide.services.creating_services.ngdoc +++ b/docs/content/guide/dev_guide.services.creating_services.ngdoc @@ -48,9 +48,9 @@ create this instance when called. # Dependencies -Services can not only be depended upon, but also have its own dependencies. These can be specified -as arguments of the factory function. {@link di Read more} about the DI -in Angular and the use of array notation and $inject property to make DI annotation +Services can not only be depended upon, but can also have their own dependencies. These can be specified +as arguments of the factory function. {@link di Read more} about dependency injection (DI) +in Angular and the use of array notation and the $inject property to make DI annotation minification-proof. Following is an example of a very simple service. This service depends on the `$window` service @@ -78,7 +78,7 @@ angular.module('myModule', [], function($provide) { All services in Angular are instantiated lazily. This means that a service will be created only when it is needed for instantiation of a service or an application component that depends on it. -In other words, Angular won't instantiate lazy services unless they are requested directly or +In other words, Angular won't instantiate services unless they are requested directly or indirectly by the application. |
