aboutsummaryrefslogtreecommitdiffstats
path: root/docs/cookbook.helloworld.ngdoc
diff options
context:
space:
mode:
authorMisko Hevery2011-04-29 15:18:27 -0700
committerIgor Minar2011-06-06 22:28:38 -0700
commit11e9572b952e49b01035e956c412d6095533031a (patch)
tree04dbf96802f552693d44c541c0d825a2769e3d57 /docs/cookbook.helloworld.ngdoc
parentb6bc6c2ddf1ae1523ec7e4cb92db209cd6501181 (diff)
downloadangular.js-11e9572b952e49b01035e956c412d6095533031a.tar.bz2
Move documentation under individual headings
Diffstat (limited to 'docs/cookbook.helloworld.ngdoc')
-rw-r--r--docs/cookbook.helloworld.ngdoc31
1 files changed, 0 insertions, 31 deletions
diff --git a/docs/cookbook.helloworld.ngdoc b/docs/cookbook.helloworld.ngdoc
deleted file mode 100644
index ab4c337a..00000000
--- a/docs/cookbook.helloworld.ngdoc
+++ /dev/null
@@ -1,31 +0,0 @@
-@workInProgress
-@ngdoc overview
-@name Cookbook: Hello World
-@description
-
-<doc:example>
- <doc:source>
- Your name: <input type="text" name="name" value="World"/>
- <hr/>
- Hello {{name}}!
- </doc:source>
- <doc:scenario>
- it('should change the binding when user enters text', function(){
- expect(binding('name')).toEqual('World');
- input('name').enter('angular');
- expect(binding('name')).toEqual('angular');
- });
- </doc:scenario>
-</doc:example>
-
-# Things to notice
-
-Take a look through the source and note:
-
-* The script tag that {@link guide.bootstrap bootstraps} the angular environment.
-* The text {@link angular.widget.HTML input widget} which is bound to the greeting name text.
-* No need for listener registration and event firing on change events.
-* The implicit presence of the `name` variable which is in the root {@link angular.scope scope}.
-* The double curly brace `{{markup}}`, which binds the name variable to the greeting text.
-* The concept of {@link guide.data-binding data binding}, which reflects any changes to the
- input field in the greeting text.