Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2007ddd

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 d8922fe commit 2007ddd

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

docs/content/guide/directive.ngdoc

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -376,8 +376,8 @@ compiler}. The attributes are:
376376
* `M` - Comment: `<!-- directive: my-directive exp -->`
377377

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

382382
* `templateUrl` - Same as `template` but the template is loaded from the specified URL. Because
383383
the template loading is asynchronous the compilation/linking is suspended until the template
@@ -601,6 +601,7 @@ restrict: 'E',
601601
replace: true
602602
</pre>
603603

604+
<a name="Components"></a>
604605
# Creating Components
605606

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

0 commit comments

Comments
 (0)