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

Commit 3cda897

Browse files
atenhargkalpak
authored andcommitted
docs(tutorial/step_03): fix grammar and typos
Closes #14834
1 parent 2456ab6 commit 3cda897

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

docs/content/tutorial/step_03.ngdoc

+6-6
Original file line numberDiff line numberDiff line change
@@ -199,16 +199,16 @@ Voilà! The resulting output should look the same, but let's see what we have ga
199199
# Testing
200200

201201
Although we have combined our controller with a template into a component, we still can (and should)
202-
unit test the controller separately, since this is where are application logic and data reside.
202+
unit test the controller separately, since this is where our application logic and data reside.
203203

204204
In order to retrieve and instantiate a component's controller, Angular provides the
205205
{@link ngMock.$componentController $componentController} service.
206206

207207
<div class="alert alert-info">
208-
The `$controller` service that we used in the previous step, can only instantiate controllers that
209-
where registered by name, using the `.controller()` method. We could have registered our component
210-
controller this way too, if we wanted to. Instead, we chose to define it inline &mdash; inside the
211-
CDO &mdash; to keep things localized, but either way works equally well.
208+
The `$controller` service that we used in the previous step can only instantiate controllers that
209+
were registered by name, using the `.controller()` method. We could have registered our component
210+
controller this way, too, if we wanted to. Instead, we chose to define it inline &mdash; inside
211+
the CDO &mdash; to keep things localized, but either way works equally well.
212212
</div>
213213

214214
<br />
@@ -268,7 +268,7 @@ Same as before, execute `npm test` to run the tests and then watch the files for
268268

269269
# Summary
270270

271-
You have learned how to organize your application and presentation logic into isolated reusable
271+
You have learned how to organize your application and presentation logic into isolated, reusable
272272
components. Let's go to {@link step_04 step 4} to learn how to organize our code in directories and
273273
files, so it remains easy to locate as our application grows.
274274

0 commit comments

Comments
 (0)