Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit 6d4ce24

Browse files
zakjbtford
authored andcommitted
docs(guide/services): clean up typos
1 parent 229a155 commit 6d4ce24

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/content/guide/services.ngdoc

+5-5
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ Angular services are:
1111

1212
* Lazily instantiated – Angular only instantiates a service when an application component depends
1313
on it.
14-
* Singletons – Each component is dependent on a service gets a reference to the single instance
14+
* Singletons – Each component dependent on a service gets a reference to the single instance
1515
generated by the service factory.
1616

17-
Angular offers several useful services (like {@link ng.$http `$http`}) but for most applications
17+
Angular offers several useful services (like {@link ng.$http `$http`}), but for most applications
1818
you'll also want to {@link services#creating-services create your own}.
1919

2020
<div class="alert alert-info">
@@ -215,8 +215,8 @@ In the example, note that:
215215
{@link ng.$log `$log`} services.
216216
* The `routeTemplateMonitor` service depends on the built-in {@link ngRoute.$route `$route`}
217217
service and our custom `batchLog` service.
218-
* Both services use the and array notation to declare their dependencies.
219-
* That the order of identifiers in the array is the same as the order of argument
218+
* Both services use the array notation to declare their dependencies.
219+
* The order of identifiers in the array is the same as the order of argument
220220
names in the factory function.
221221

222222
### Registering a Service with `$provide`
@@ -234,7 +234,7 @@ angular.module('myModule', []).config(function($provide) {
234234
});
235235
```
236236

237-
This is technique is often used in unit tests to mock out a service's dependencies.
237+
This technique is often used in unit tests to mock out a service's dependencies.
238238

239239

240240
## Unit Testing

0 commit comments

Comments
 (0)