Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit 6a612df

Browse files
vinIgorMinar
authored andcommitted
docs(guide/directives): update obsolete doc reference
Replace an obsolete reference to a nonexistent "Creating Widgets" section with a real link to "Creating Components".
1 parent ac899d0 commit 6a612df

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

docs/content/guide/directive.ngdoc

+3-2
Original file line numberDiff line numberDiff line change
@@ -378,8 +378,8 @@ compiler}. The attributes are:
378378
* `M` - Comment: `<!-- directive: my-directive exp -->`
379379

380380
* `template` - replace the current element with the contents of the HTML. The replacement process
381-
migrates all of the attributes / classes from the old element to the new one. See Creating
382-
Widgets section below for more information.
381+
migrates all of the attributes / classes from the old element to the new one. See the
382+
{@link guide/directive#Components Creating Components} section below for more information.
383383

384384
* `templateUrl` - Same as `template` but the template is loaded from the specified URL. Because
385385
the template loading is asynchronous the compilation/linking is suspended until the template
@@ -603,6 +603,7 @@ restrict: 'E',
603603
replace: true
604604
</pre>
605605

606+
<a name="Components"></a>
606607
# Creating Components
607608

608609
It is often desirable to replace a single directive with a more complex DOM structure. This

0 commit comments

Comments
 (0)