diff options
Diffstat (limited to 'docs/content/tutorial/step_10.ngdoc')
| -rw-r--r-- | docs/content/tutorial/step_10.ngdoc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/content/tutorial/step_10.ngdoc b/docs/content/tutorial/step_10.ngdoc index 510eacd4..b4f0370d 100644 --- a/docs/content/tutorial/step_10.ngdoc +++ b/docs/content/tutorial/step_10.ngdoc @@ -113,7 +113,7 @@ angular's server}. * Let's add a new controller method to `PhoneCatCtrl`: - this.hello(name) = function(name) { + this.hello = function(name) { alert('Hello ' + (name || 'world') + '!'); } |
