aboutsummaryrefslogtreecommitdiffstats
path: root/docs/content/tutorial/step_02.ngdoc
diff options
context:
space:
mode:
authorIgor Minar2014-01-09 17:23:35 -0800
committerIgor Minar2014-01-09 17:24:10 -0800
commit69452fa94f32c0e535d035988204e28eeda048a1 (patch)
treeca3d47bc07e6646c932df4482ba071795cfc028e /docs/content/tutorial/step_02.ngdoc
parent2ed4ad55022f6e5519617a3797649fe1e68f3734 (diff)
downloadangular.js-69452fa94f32c0e535d035988204e28eeda048a1.tar.bz2
docs(tutorial): improve experiment instructions
Closes #5697
Diffstat (limited to 'docs/content/tutorial/step_02.ngdoc')
-rw-r--r--docs/content/tutorial/step_02.ngdoc8
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: