Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit 0026ebf

Browse files
committedAug 3, 2015
docs($rootScope.Scope): remove obsolete line, and link to guide
The removed line pointed to a removed example. Re-adding the example would have been of questionable value, as it introduced several concepts without context. It's therefore better to link to the guide, which provides a better introduction. Closes #12167
1 parent a4f73c9 commit 0026ebf

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed
 

‎src/ng/rootScope.js

+2-5
Original file line numberDiff line numberDiff line change
@@ -108,12 +108,9 @@ function $RootScopeProvider() {
108108
* A root scope can be retrieved using the {@link ng.$rootScope $rootScope} key from the
109109
* {@link auto.$injector $injector}. Child scopes are created using the
110110
* {@link ng.$rootScope.Scope#$new $new()} method. (Most scopes are created automatically when
111-
* compiled HTML template is executed.)
111+
* compiled HTML template is executed.) See also the {@link guide/scope Scopes guide} for
112+
* an in-depth introduction and usage examples.
112113
*
113-
* Here is a simple scope snippet to show how you can interact with the scope.
114-
* ```html
115-
* <file src="./test/ng/rootScopeSpec.js" tag="docs1" />
116-
* ```
117114
*
118115
* # Inheritance
119116
* A scope can inherit from a parent scope, as in this example:

0 commit comments

Comments
 (0)
This repository has been archived.