aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIgor Minar2011-04-10 14:16:08 -0700
committerIgor Minar2011-04-10 14:16:08 -0700
commit81063a748c666594f4b0f06715d3acc6fd2e07cf (patch)
treec08dffcc43660851f4791258efc91f539bfe58cf
parent9462b556a31efbe1560c5086326c80a6e9e39f87 (diff)
downloadangular.js-81063a748c666594f4b0f06715d3acc6fd2e07cf.tar.bz2
fix typo in angular.widget docs
-rw-r--r--docs/angular.widget.ngdoc2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/angular.widget.ngdoc b/docs/angular.widget.ngdoc
index 6360f8ea..bcde5f1a 100644
--- a/docs/angular.widget.ngdoc
+++ b/docs/angular.widget.ngdoc
@@ -41,7 +41,7 @@ angular.widget('my:watch', function(compileElement) {
Let's implement the same widget, but this time as an attribute
that can be added to any existing DOM element.
<pre>
-&lt;div my-watch="name"&gt;text&lt;/div&gt;
+&lt;div my:watch="name"&gt;text&lt;/div&gt;
</pre>
You can implement `my:watch` attribute like this:
<pre>