File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -102,9 +102,11 @@ __`app/index.html`:__
102
102
103
103
<html ng-app>
104
104
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.
108
110
This gives application developers the freedom to tell Angular if the entire html page or only a
109
111
portion of it should be treated as the Angular application.
110
112
You can’t perform that action at this time.
0 commit comments