aboutsummaryrefslogtreecommitdiffstats
path: root/docs/content/cookbook/helloworld.ngdoc
diff options
context:
space:
mode:
authorJulie2014-01-23 15:14:02 -0800
committerCaitlin Potter2014-01-28 14:12:52 -0500
commitce37ae28687167f7b4274ba547f013980126a219 (patch)
treeb6e3164a0edad4a19f4afe298896178e6772103f /docs/content/cookbook/helloworld.ngdoc
parent95f0bf9b526fda8964527c6d4aef1ad50a47f1f3 (diff)
downloadangular.js-ce37ae28687167f7b4274ba547f013980126a219.tar.bz2
docs(cookbook): remove the cookbook docs
The cookbook docs are now superceded by the guide. They are no longer available in any menus and the only way to find them is to search for them. Remove! Closes #5967
Diffstat (limited to 'docs/content/cookbook/helloworld.ngdoc')
-rw-r--r--docs/content/cookbook/helloworld.ngdoc39
1 files changed, 0 insertions, 39 deletions
diff --git a/docs/content/cookbook/helloworld.ngdoc b/docs/content/cookbook/helloworld.ngdoc
deleted file mode 100644
index a24f959a..00000000
--- a/docs/content/cookbook/helloworld.ngdoc
+++ /dev/null
@@ -1,39 +0,0 @@
-@ngdoc overview
-@name Cookbook: Hello World
-@description
-
-<doc:example>
- <doc:source>
- <script>
- function HelloCntl($scope) {
- $scope.name = 'World';
- }
- </script>
- <div ng-controller="HelloCntl">
- Your name: <input type="text" ng-model="name"/>
- <hr/>
- Hello {{name || "World"}}!
- </div>
- </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 api/ng.directive:input input form control} which is
- bound to the greeting name text.
-* There is no need for listener registration and event firing on change events.
-* The implicit presence of the `name` variable which is in the root {@link api/ng.$rootScope.Scope scope}.
-* The double curly brace `{{markup}}`, which binds the name variable to the greeting text.
-* The concept of {@link guide/databinding data binding}, which reflects any
-changes to the
- input field in the greeting text.