From 11e9572b952e49b01035e956c412d6095533031a Mon Sep 17 00:00:00 2001 From: Misko Hevery Date: Fri, 29 Apr 2011 15:18:27 -0700 Subject: Move documentation under individual headings --- docs/cookbook.helloworld.ngdoc | 31 ------------------------------- 1 file changed, 31 deletions(-) delete mode 100644 docs/cookbook.helloworld.ngdoc (limited to 'docs/cookbook.helloworld.ngdoc') 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 - - - - Your name: -
- Hello {{name}}! -
- - it('should change the binding when user enters text', function(){ - expect(binding('name')).toEqual('World'); - input('name').enter('angular'); - expect(binding('name')).toEqual('angular'); - }); - -
- -# 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. -- cgit v1.2.3