mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-05-19 12:01:07 +00:00
fix typo in angular.widget docs
This commit is contained in:
parent
9462b556a3
commit
81063a748c
1 changed files with 1 additions and 1 deletions
|
|
@ -41,7 +41,7 @@ angular.widget('my:watch', function(compileElement) {
|
||||||
Let's implement the same widget, but this time as an attribute
|
Let's implement the same widget, but this time as an attribute
|
||||||
that can be added to any existing DOM element.
|
that can be added to any existing DOM element.
|
||||||
<pre>
|
<pre>
|
||||||
<div my-watch="name">text</div>
|
<div my:watch="name">text</div>
|
||||||
</pre>
|
</pre>
|
||||||
You can implement `my:watch` attribute like this:
|
You can implement `my:watch` attribute like this:
|
||||||
<pre>
|
<pre>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue