aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/content/guide/scope.ngdoc8
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/content/guide/scope.ngdoc b/docs/content/guide/scope.ngdoc
index 342877d7..c59f4009 100644
--- a/docs/content/guide/scope.ngdoc
+++ b/docs/content/guide/scope.ngdoc
@@ -118,9 +118,9 @@ inheritance, and child scopes prototypically inherit from their parents.
This example illustrates scopes in application, and prototypical inheritance of properties. The example is followed by
a diagram depicting the scope boundaries.
-<div class="show-scope">
<example>
<file name="index.html">
+ <div class="show-scope-demo">
<div ng-controller="GreetCtrl">
Hello {{name}}!
</div>
@@ -129,6 +129,7 @@ a diagram depicting the scope boundaries.
<li ng-repeat="name in names">{{name}}</li>
</ol>
</div>
+ </div>
</file>
<file name="script.js">
function GreetCtrl($scope) {
@@ -140,14 +141,13 @@ a diagram depicting the scope boundaries.
}
</file>
<file name="style.css">
- .show-scope .doc-example-live.ng-scope,
- .show-scope .doc-example-live .ng-scope {
+ .show-scope-demo.ng-scope,
+ .show-scope-demo .ng-scope {
border: 1px solid red;
margin: 3px;
}
</file>
</example>
-</div>
<img class="center" src="img/guide/concepts-scope.png">