Skip to content

Commit cc205ac

Browse files
Narretznetman92
authored andcommitted
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 angular#12167
1 parent c29d5b9 commit cc205ac

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

0 commit comments

Comments
 (0)