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

Commit a390612

Browse files
cexbrayatpetebacondarwin
authored andcommitted
docs(guide/controller): remove duplicate -Controller suffix
Closes #8482
1 parent 833e60a commit a390612

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/content/guide/controller.ngdoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ Things to notice in the example above:
158158
- The `ng-controller` directive is used to (implicitly) create a scope for our template, and the
159159
scope is augmented (managed) by the `SpicyController` Controller.
160160
- `SpicyController` is just a plain JavaScript function. As an (optional) naming convention the name
161-
starts with capital letter and ends with "Controller" or "Controller".
161+
starts with capital letter and ends with "Controller".
162162
- Assigning a property to `$scope` creates or updates the model.
163163
- Controller methods can be created through direct assignment to scope (see the `chiliSpicy` method)
164164
- The Controller methods and properties are available in the template (for the `<div>` element and

0 commit comments

Comments
 (0)