diff options
| author | Vineet Kumar | 2013-01-26 21:39:42 -0500 |
|---|---|---|
| committer | Igor Minar | 2013-02-25 14:51:59 -0800 |
| commit | 2007ddd3f80d212934783a6ad8167db72a4bd6dd (patch) | |
| tree | 5f7fc99e51094ca4543e4d178dc9ae4c36eedfc3 /docs/content/guide/directive.ngdoc | |
| parent | d8922fe3e9fcb2145895b0f3cacb24d932ec45c8 (diff) | |
| download | angular.js-2007ddd3f80d212934783a6ad8167db72a4bd6dd.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.ngdoc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/docs/content/guide/directive.ngdoc b/docs/content/guide/directive.ngdoc index 2f93ef33..ef5f599c 100644 --- a/docs/content/guide/directive.ngdoc +++ b/docs/content/guide/directive.ngdoc @@ -376,8 +376,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 @@ -601,6 +601,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 |
