mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-03-16 23:30:23 +00:00
docs(guide/understanding_controller): correct grammar
Add the word "to" to improve grammar. Closes #4698
This commit is contained in:
parent
d434eabec3
commit
8a3aba7358
1 changed files with 1 additions and 1 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in a new issue