diff options
| author | Matt Rohrer | 2012-09-26 15:30:55 +0200 |
|---|---|---|
| committer | Brian Ford | 2013-01-17 19:36:14 -0500 |
| commit | d4312b731a6d795f1afef83cccd4ec1a5a11e0e4 (patch) | |
| tree | d895b06904eb7dcd2c7ee05e4d2cd88c46bc0439 /docs/content/guide/dev_guide.services.creating_services.ngdoc | |
| parent | 66f051386e153f10bd2751a7cafb61404799adee (diff) | |
| download | angular.js-d4312b731a6d795f1afef83cccd4ec1a5a11e0e4.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. |
