aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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>