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/guide/dev_guide.scopes.controlling_scopes.ngdoc | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'docs/content/guide/dev_guide.scopes.controlling_scopes.ngdoc') diff --git a/docs/content/guide/dev_guide.scopes.controlling_scopes.ngdoc b/docs/content/guide/dev_guide.scopes.controlling_scopes.ngdoc index ca63cbc3..cdbad444 100644 --- a/docs/content/guide/dev_guide.scopes.controlling_scopes.ngdoc +++ b/docs/content/guide/dev_guide.scopes.controlling_scopes.ngdoc @@ -3,48 +3,37 @@ @name Developer Guide: Scopes: Applying Controllers to Scopes @description - When a controller function is applied to a scope, the scope is augmented with the behavior defined in the controller. The end result is that the scope behaves as if it were the controller: -
 var scope = angular.scope();
 scope.salutation = 'Hello';
 scope.name = 'World';
 
-
 expect(scope.greeting).toEqual(undefined);
 
-
 scope.$watch('name', function(){
 this.greeting = this.salutation + ' ' + this.name + '!';
 });
 
-
 expect(scope.greeting).toEqual('Hello World!');
 scope.name = 'Misko';
 // scope.$eval() will propagate the change to listeners
 expect(scope.greeting).toEqual('Hello World!');
 
-
 scope.$eval();
 expect(scope.greeting).toEqual('Hello Misko!');
 
- - ## Related Topics - * {@link dev_guide.scopes Angular Scope Objects} * {@link dev_guide.scopes.understanding_scopes Understanding Angular Scopes} * {@link dev_guide.scopes.working_scopes Working With Angular Scopes} * {@link dev_guide.scopes.updating_scopes Updating Angular Scopes} - ## Related API - * {@link api/angular.scope Angular Scope API} -- cgit v1.2.3