diff options
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/cookbook.deeplinking.ngdoc | 2 | ||||
| -rw-r--r-- | docs/cookbook.form.ngdoc | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/docs/cookbook.deeplinking.ngdoc b/docs/cookbook.deeplinking.ngdoc index 90dd50bb..5270eb16 100644 --- a/docs/cookbook.deeplinking.ngdoc +++ b/docs/cookbook.deeplinking.ngdoc @@ -105,7 +105,7 @@ The two partials are defined in the following URLs: # Things to notice * Routes are defined in the `AppCntl` class. The initialization of the controller causes the - initialization of the {@link angular.service.$rouet $route} service with the proper URL routes. + initialization of the {@link angular.service.$route $route} service with the proper URL routes. * The {@link angular.service.$route $route} service then watches the URL and instantiates the appropriate controller when the URL changes. * The {@link angular.widget.ng:view ng:view} widget loads the view when the URL changes. It also diff --git a/docs/cookbook.form.ngdoc b/docs/cookbook.form.ngdoc index 7d55f0a4..c9fd9e9a 100644 --- a/docs/cookbook.form.ngdoc +++ b/docs/cookbook.form.ngdoc @@ -68,22 +68,22 @@ allow a user to enter data. it('should validate zip', function(){ expect(using('.example').element(':input[name=user.address.zip]').attr('className')) - .not().toMatch(/ng-validation-error/) + .not().toMatch(/ng-validation-error/); using('.example').input('user.address.zip').enter('abc'); expect(using('.example').element(':input[name=user.address.zip]').attr('className')) - .toMatch(/ng-validation-error/) + .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/) + .not().toMatch(/ng-validation-error/); using('.example').input('user.address.state').enter('XXX'); expect(using('.example').element(':input[name=user.address.state]').attr('className')) - .toMatch(/ng-validation-error/) + .toMatch(/ng-validation-error/); }); </doc:scenario> </doc:example> |
