From c869194498a16501551e6794fcc292c5ce8619c5 Mon Sep 17 00:00:00 2001 From: Ben McCann Date: Sun, 22 Dec 2013 19:37:12 -0800 Subject: [PATCH] docs(guides/directive): Add a link to the API docs from the guide --- docs/content/guide/directive.ngdoc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/content/guide/directive.ngdoc b/docs/content/guide/directive.ngdoc index 035993d75b5c..c614a8b93d87 100644 --- a/docs/content/guide/directive.ngdoc +++ b/docs/content/guide/directive.ngdoc @@ -174,9 +174,9 @@ For example, we could fix the example above by instead writing: ## Creating Directives -First let's talk about the API for registering directives. Much like controllers, directives are -registered on modules. To register a directive, you use the `module.directive` API. -`module.directive` takes the +First let's talk about the {@link api/ng.$compile API for registering directives}. Much like +controllers, directives are registered on modules. To register a directive, you use the +`module.directive` API. `module.directive` takes the {@link guide/directive#creating-custom-directives_matching-directives normalized} directive name followed by a **factory function.** This factory function should return an object with the different options to tell `$compile` how the directive should behave when matched.