Skip to content

Commit 9221bfd

Browse files
IgorMinarjamesdaily
authored andcommitted
docs(tutorial): improve experiment instructions
Closes angular#5697
1 parent 6fa2275 commit 9221bfd

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

docs/content/tutorial/step_02.ngdoc

+6-2
Original file line numberDiff line numberDiff line change
@@ -217,9 +217,13 @@ is located at `./config/karma.conf.js`).
217217

218218
* Create a new model property in the controller and bind to it from the template. For example:
219219

220-
$scope.hello = "Hello, World!"
220+
$scope.name = "World"
221221

222-
Refresh your browser to make sure it says, "Hello, World!"
222+
Then add a new binding to `index.html`:
223+
224+
<p>Hello, {{name}}!</p>
225+
226+
Refresh your browser and verifies that it says "Hello, World!".
223227

224228
* Create a repeater that constructs a simple table:
225229

0 commit comments

Comments
 (0)