From b842642b574a2b95c53b791308ed1bf8ff9d304d Mon Sep 17 00:00:00 2001 From: Igor Minar Date: Wed, 15 Jun 2011 22:31:40 -0700 Subject: docs - stripping extra new lines --- docs/content/cookbook/form.ngdoc | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'docs/content/cookbook/form.ngdoc') diff --git a/docs/content/cookbook/form.ngdoc b/docs/content/cookbook/form.ngdoc index 55aeb4b9..08f8971d 100644 --- a/docs/content/cookbook/form.ngdoc +++ b/docs/content/cookbook/form.ngdoc @@ -3,14 +3,11 @@ @name Cookbook: Form @description - A web application's main purpose is to present and gather data. For this reason angular strives to make both of these operations trivial. This example shows off how you can build a simple form to allow a user to enter data. - -
-


-

, @@ -38,7 +33,6 @@ allow a user to enter data.

- [ add ]
@@ -56,7 +50,6 @@ ng:validate="regexp:zip"/>

user={{user}}
- it('should show debug', function(){ @@ -69,13 +62,11 @@ ng:validate="regexp:zip"/>

expect(binding('user')).toMatch(/you@example.org/); }); - it('should remove contact', function(){ using('.example').element('a:contains(X)').click(); expect(binding('user')).not().toMatch(/\(234\) 555\-1212/); }); - it('should validate zip', function(){ expect(using('.example').element(':input[name=user.address.zip]').attr('className')) .not().toMatch(/ng-validation-error/); @@ -84,7 +75,6 @@ ng:validate="regexp:zip"/>

.toMatch(/ng-validation-error/); }); - it('should validate state', function(){ expect(using('.example').element(':input[name=user.address.state]').attr('className')) .not().toMatch(/ng-validation-error/); @@ -96,11 +86,8 @@ ng:validate="regexp:zip"/>

- - # Things to notice - * The user data model is initialized {@link api/angular.directive.ng:controller controller} and is available in the {@link api/angular.scope scope} with the initial data. -- cgit v1.2.3