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

camelCase directive in html referenced as kebab-case, The kebab-case shall be camel-case #15051

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/content/tutorial/step_03.ngdoc
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ To create a component, we use the {@link angular.Module#component .component()}
Definition Object (CDO for short).

Remember that (since components are also directives) the name of the component is in `camelCase`,
but we will use `kebab-case`, when referring to it in our HTML.
but we will use `camel-case`, when referring to it in our HTML.

In its simplest form, the CDO will just contain a template and a controller. (We can actually omit
the controller and Angular will create a dummy controller for us. This is useful for simple
Expand Down