diff options
| -rw-r--r-- | docs/content/tutorial/step_02.ngdoc | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/docs/content/tutorial/step_02.ngdoc b/docs/content/tutorial/step_02.ngdoc index 2489162c..c9a89abe 100644 --- a/docs/content/tutorial/step_02.ngdoc +++ b/docs/content/tutorial/step_02.ngdoc @@ -217,9 +217,13 @@ is located at `./config/karma.conf.js`). * Create a new model property in the controller and bind to it from the template. For example: - $scope.hello = "Hello, World!" + $scope.name = "World" - Refresh your browser to make sure it says, "Hello, World!" + Then add a new binding to `index.html`: + + <p>Hello, {{name}}!</p> + + Refresh your browser and verifies that it says "Hello, World!". * Create a repeater that constructs a simple table: |
