From 2845dd159087fc59eb29845a578f32c7c462e8e6 Mon Sep 17 00:00:00 2001 From: Matias Niemelä Date: Tue, 2 Apr 2013 18:20:33 -0400 Subject: feat(ngdocs): added functionality to import and extract contents of external files inside docs comment code --- src/ng/rootScope.js | 20 +------------------- 1 file changed, 1 insertion(+), 19 deletions(-) (limited to 'src/ng/rootScope.js') diff --git a/src/ng/rootScope.js b/src/ng/rootScope.js index 1fad7b0e..2a4bcf76 100644 --- a/src/ng/rootScope.js +++ b/src/ng/rootScope.js @@ -83,25 +83,7 @@ function $RootScopeProvider(){ * * Here is a simple scope snippet to show how you can interact with the scope. *
-        angular.injector(['ng']).invoke(function($rootScope) {
-           var scope = $rootScope.$new();
-           scope.salutation = 'Hello';
-           scope.name = 'World';
-
-           expect(scope.greeting).toEqual(undefined);
-
-           scope.$watch('name', function() {
-             scope.greeting = scope.salutation + ' ' + scope.name + '!';
-           }); // initialize the watch
-
-           expect(scope.greeting).toEqual(undefined);
-           scope.name = 'Misko';
-           // still old value, since watches have not been called yet
-           expect(scope.greeting).toEqual(undefined);
-
-           scope.$digest(); // fire all  the watches
-           expect(scope.greeting).toEqual('Hello Misko!');
-        });
+     * 
      *
      * # Inheritance
-- 
cgit v1.2.3