aboutsummaryrefslogtreecommitdiffstats
path: root/scenario
diff options
context:
space:
mode:
authorMisko Hevery2010-04-01 14:10:28 -0700
committerMisko Hevery2010-04-01 14:10:28 -0700
commit85f13d602e31424b2e2d18172872f14a24c31135 (patch)
tree8389ab1a0dfd6b8717a1f0dc70a738deaca146c2 /scenario
parent11a6431f8926c557f3c58408dacc98466e76cde1 (diff)
downloadangular.js-85f13d602e31424b2e2d18172872f14a24c31135.tar.bz2
work on $location and autobind
Diffstat (limited to 'scenario')
-rw-r--r--scenario/widgets.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/scenario/widgets.html b/scenario/widgets.html
index 21060ebf..5c11a2ee 100644
--- a/scenario/widgets.html
+++ b/scenario/widgets.html
@@ -2,9 +2,9 @@
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<link rel="stylesheet" type="text/css" href="style.css"></link>
- <script type="text/javascript" src="../src/angular-bootstrap.js#autobind&rootScope=$view"></script>
+ <script type="text/javascript" src="../src/angular-bootstrap.js#autobind"></script>
</head>
- <body>
+ <body ng-init="$window.$scope = $root">
<table>
<tr>
<th>Description</th>