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

Commit cce084e

Browse files
ColinFletchlgalfaso
ColinFletch
authored andcommitted
docs(guide/Controllers): Syntax adjustments.
Closes #12379
1 parent d935c24 commit cce084e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/content/guide/controller.ngdoc

+3-3
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ needed for a single view.
109109

110110
The most common way to keep Controllers slim is by encapsulating work that doesn't belong to
111111
controllers into services and then using these services in Controllers via dependency injection.
112-
This is discussed in the {@link di Dependency Injection} {@link services
112+
This is discussed in the {@link di Dependency Injection} and {@link services
113113
Services} sections of this guide.
114114

115115

@@ -165,7 +165,7 @@ scope is augmented (managed) by the `SpicyController` Controller.
165165
starts with capital letter and ends with "Controller".
166166
- Assigning a property to `$scope` creates or updates the model.
167167
- Controller methods can be created through direct assignment to scope (see the `chiliSpicy` method)
168-
- The Controller methods and properties are available in the template (for the `<div>` element and
168+
- The Controller methods and properties are available in the template (for both the `<div>` element and
169169
its children).
170170

171171
## Spicy Arguments Example
@@ -305,7 +305,7 @@ describe('myController function', function() {
305305
```
306306

307307

308-
If you need to test a nested Controller you need to create the same scope hierarchy
308+
If you need to test a nested Controller you must create the same scope hierarchy
309309
in your test that exists in the DOM:
310310

311311
```js

0 commit comments

Comments
 (0)