mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-04-24 03:55:49 +08:00
docs(guide/understanding_controller): correct grammar
Add the word "to" to improve grammar. Closes #4698
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user