docs: fix spelling error in angular component (#32971)
change component class section of the docs Closes #32948 PR Close #32971
This commit is contained in:
parent
2ecc4c7886
commit
1b607529a6
|
@ -1148,9 +1148,7 @@ The Angular code is shown using TypeScript.
|
||||||
<code-example hideCopy path="ajs-quick-reference/src/app/movie-list.component.ts" region="class"></code-example>
|
<code-example hideCopy path="ajs-quick-reference/src/app/movie-list.component.ts" region="class"></code-example>
|
||||||
|
|
||||||
|
|
||||||
In Angular, you create a component class.
|
In Angular, you create a component class to contain the data model and control methods. Use the TypeScript <code>export</code> keyword to export the class so that the functionality can be imported into NgModules.
|
||||||
|
|
||||||
NOTE: If you are using TypeScript with AngularJS, you must use the `export` keyword to export the component class.
|
|
||||||
|
|
||||||
For more information, see the [Components](guide/architecture#components)
|
For more information, see the [Components](guide/architecture#components)
|
||||||
section of the [Architecture Overview](guide/architecture) page.
|
section of the [Architecture Overview](guide/architecture) page.
|
||||||
|
|
Loading…
Reference in New Issue