mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-03-16 23:30:23 +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
|
||||
that can be added to any existing DOM element.
|
||||
<pre>
|
||||
<div my-watch="name">text</div>
|
||||
<div my:watch="name">text</div>
|
||||
</pre>
|
||||
You can implement `my:watch` attribute like this:
|
||||
<pre>
|
||||
|
|
|
|||
Loading…
Reference in a new issue