mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-04-05 22:35:14 +08:00
docs(guide/directive): correct reference to myDir rather than ngBind
Closes #4647
This commit is contained in:
committed by
Pete Bacon Darwin
parent
d1a285e5d3
commit
a4d3146ee9
@@ -100,7 +100,7 @@ The other forms shown above are accepted for legacy reasons but we advise you to
|
||||
`$compile` can match directives based on element names, attributes, class names, as well as comments.
|
||||
|
||||
All of the Angular-provided directives match attribute name, tag name, comments, or class name.
|
||||
The following demonstrates the various ways a directive (`ngBind` in this case) can be referenced from within a template:
|
||||
The following demonstrates the various ways a directive (`myDir` in this case) can be referenced from within a template:
|
||||
|
||||
```html
|
||||
<my-dir></my-dir>
|
||||
|
||||
Reference in New Issue
Block a user