diff --git a/docs/content/guide/compiler.ngdoc b/docs/content/guide/compiler.ngdoc index 631e4b9bd1af..ee24a05d9d14 100644 --- a/docs/content/guide/compiler.ngdoc +++ b/docs/content/guide/compiler.ngdoc @@ -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 @@ -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