mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-04-05 22:35:14 +08:00
docs(guide/compiler): fix url-based links refs to AUTO module
Closes #6385
This commit is contained in:
committed by
Peter Bacon Darwin
parent
7cd79b6f8f
commit
dacdcc6d96
@@ -58,7 +58,7 @@ cloned template only needs to be compiled once, and then linked once for each cl
|
||||
A directive is a behavior which should be triggered when specific HTML constructs are encountered
|
||||
during the compilation process. The directives can be placed in element names, attributes, class
|
||||
names, as well as comments. Here are some equivalent examples of invoking the {@link
|
||||
api/ng.directive:ngBind `ng-bind`} directive.
|
||||
ng.directive:ngBind `ng-bind`} directive.
|
||||
|
||||
```html
|
||||
<span ng-bind="exp"></span>
|
||||
@@ -68,7 +68,7 @@ api/ng.directive:ngBind `ng-bind`} directive.
|
||||
```
|
||||
|
||||
A directive is just a function which executes when the compiler encounters it in the DOM. See {@link
|
||||
api/ng.$compileProvider#methods_directive directive API} for in-depth documentation on how
|
||||
ng.$compileProvider#methods_directive directive API} for in-depth documentation on how
|
||||
to write directives.
|
||||
|
||||
Here is a directive which makes any element draggable. Notice the `draggable` attribute on the
|
||||
|
||||
Reference in New Issue
Block a user