mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-05-02 04:04:44 +00:00
docs(guide/directive): correct reference to myDir rather than ngBind
Closes #4647
This commit is contained in:
parent
d1a285e5d3
commit
a4d3146ee9
1 changed files with 1 additions and 1 deletions
|
|
@ -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.
|
`$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.
|
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
|
```html
|
||||||
<my-dir></my-dir>
|
<my-dir></my-dir>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue