aboutsummaryrefslogtreecommitdiffstats
path: root/docs/content/guide/directive.ngdoc
diff options
context:
space:
mode:
authorVineet Kumar2013-01-26 21:39:42 -0500
committerIgor Minar2013-02-25 14:51:52 -0800
commit6a612df7de0162449d937d40b20b34a306ec9a75 (patch)
tree6192497e23da69f089626d440445d3f5a4df05d8 /docs/content/guide/directive.ngdoc
parentac899d0da59157fa1c6429510791b6c3103d9401 (diff)
downloadangular.js-6a612df7de0162449d937d40b20b34a306ec9a75.tar.bz2
docs(guide/directives): update obsolete doc reference
Replace an obsolete reference to a nonexistent "Creating Widgets" section with a real link to "Creating Components".
Diffstat (limited to 'docs/content/guide/directive.ngdoc')
-rw-r--r--docs/content/guide/directive.ngdoc5
1 files changed, 3 insertions, 2 deletions
diff --git a/docs/content/guide/directive.ngdoc b/docs/content/guide/directive.ngdoc
index 925268bb..da1dc6df 100644
--- a/docs/content/guide/directive.ngdoc
+++ b/docs/content/guide/directive.ngdoc
@@ -378,8 +378,8 @@ compiler}. The attributes are:
* `M` - Comment: `<!-- directive: my-directive exp -->`
* `template` - replace the current element with the contents of the HTML. The replacement process
- migrates all of the attributes / classes from the old element to the new one. See Creating
- Widgets section below for more information.
+ migrates all of the attributes / classes from the old element to the new one. See the
+ {@link guide/directive#Components Creating Components} section below for more information.
* `templateUrl` - Same as `template` but the template is loaded from the specified URL. Because
the template loading is asynchronous the compilation/linking is suspended until the template
@@ -603,6 +603,7 @@ restrict: 'E',
replace: true
</pre>
+<a name="Components"></a>
# Creating Components
It is often desirable to replace a single directive with a more complex DOM structure. This