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

Update dev_guide.mvc.understanding_controller.ngdoc #4698

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ of the Controller on the `$scope` service provided by Angular. See the guide on
# Adding Behavior to a Scope Object

In order to react to events or execute computation in the view we must provide behavior to the
scope. We add behavior the scope by attaching methods to the `$scope` object. These methods are
scope. We add behavior to the scope by attaching methods to the `$scope` object. These methods are
then available to be called from the template/view.

The following example uses a Controller to add a method to the scope, which doubles a number:
Expand Down