Skip to content

Commit

Permalink
docs(common): spelling error in angular component
Browse files Browse the repository at this point in the history
change component class section of the docs

Closes #32948

docs(common): fix a mistake in the docs

change component class section of the docs to be less confusing

Closes #32948
  • Loading branch information
ODAVING committed Oct 8, 2019
1 parent 70429bf commit 1899328
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions aio/content/guide/ajs-quick-reference.md
Expand Up @@ -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>


In Angular, you create a component class.

NOTE: If you are using TypeScript with AngularJS, you must use the `export` keyword to export the 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.

For more information, see the [Components](guide/architecture#components)
section of the [Architecture Overview](guide/architecture) page.
Expand Down

0 comments on commit 1899328

Please sign in to comment.