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

Commit 4bd8b81

Browse files
gdennieIgorMinar
authored andcommitted
docs(tutorial): update step_00.ngdoc
Clarify the little snippet on dash vs camelCase html to directive naming pattern Closes #3550
1 parent 411c84b commit 4bd8b81

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

docs/content/tutorial/step_00.ngdoc

+5-3
Original file line numberDiff line numberDiff line change
@@ -102,9 +102,11 @@ __`app/index.html`:__
102102

103103
<html ng-app>
104104

105-
The `ng-app` attribute represents an Angular directive (named `ngApp`; Angular uses
106-
`name-with-dashes` for attribute names and `camelCase` for the corresponding directive name)
107-
used to flag an element which Angular should consider to be the root element of our application.
105+
The `ng-app` attribute represents an Angular directive named `ngApp` (Angular uses
106+
`name-with-dashes` for its custom attributes and `camelCase` for the corresponding directives
107+
that implements them).
108+
This directive is used to flag the html element that Angular should consider to be the root element
109+
of our application.
108110
This gives application developers the freedom to tell Angular if the entire html page or only a
109111
portion of it should be treated as the Angular application.
110112

0 commit comments

Comments
 (0)