fix typo in angular.widget docs

This commit is contained in:
Igor Minar 2011-04-10 14:16:08 -07:00
parent 9462b556a3
commit 81063a748c

View file

@ -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>