aboutsummaryrefslogtreecommitdiffstats
path: root/docs/content/guide
diff options
context:
space:
mode:
authorZak Johnson2014-03-05 13:16:02 -0800
committerBrian Ford2014-03-05 13:29:24 -0800
commit8e2e9adb466eb7910926ebaea71403c5490f9a2e (patch)
treedae1c21cbe965900843bfcbaa62ba2ba1b1a8b2c /docs/content/guide
parent7d604975a7ec7f62f7699af45a95bad9af3b0b5f (diff)
downloadangular.js-8e2e9adb466eb7910926ebaea71403c5490f9a2e.tar.bz2
docs(guide/services): clean up typos
Diffstat (limited to 'docs/content/guide')
-rw-r--r--docs/content/guide/services.ngdoc10
1 files changed, 5 insertions, 5 deletions
diff --git a/docs/content/guide/services.ngdoc b/docs/content/guide/services.ngdoc
index d92be142..86458f5f 100644
--- a/docs/content/guide/services.ngdoc
+++ b/docs/content/guide/services.ngdoc
@@ -11,10 +11,10 @@ Angular services are:
* Lazily instantiated – Angular only instantiates a service when an application component depends
on it.
-* Singletons – Each component is dependent on a service gets a reference to the single instance
+* Singletons – Each component dependent on a service gets a reference to the single instance
generated by the service factory.
-Angular offers several useful services (like {@link ng.$http `$http`}) but for most applications
+Angular offers several useful services (like {@link ng.$http `$http`}), but for most applications
you'll also want to {@link services#creating-services create your own}.
<div class="alert alert-info">
@@ -215,8 +215,8 @@ In the example, note that:
{@link ng.$log `$log`} services.
* The `routeTemplateMonitor` service depends on the built-in {@link ngRoute.$route `$route`}
service and our custom `batchLog` service.
-* Both services use the and array notation to declare their dependencies.
-* That the order of identifiers in the array is the same as the order of argument
+* Both services use the array notation to declare their dependencies.
+* The order of identifiers in the array is the same as the order of argument
names in the factory function.
### Registering a Service with `$provide`
@@ -234,7 +234,7 @@ angular.module('myModule', []).config(function($provide) {
});
```
-This is technique is often used in unit tests to mock out a service's dependencies.
+This technique is often used in unit tests to mock out a service's dependencies.
## Unit Testing