mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-04-01 22:37:41 +08:00
docs(tutorial/step_00): add correct description for attributes naming convention
This commit is contained in:
committed by
Lefteris Paraskevas
parent
737ef25df1
commit
39335d96d3
@@ -67,7 +67,7 @@ __`app/index.html`:__
|
||||
<html ng-app>
|
||||
|
||||
The `ng-app` attribute represents an Angular directive named `ngApp` (Angular uses
|
||||
`name-with-dashes` for its custom attributes and `camelCase` for the corresponding directives
|
||||
`spinal-case` for its custom attributes and `camelCase` for the corresponding directives
|
||||
which implement them).
|
||||
This directive is used to flag the html element that Angular should consider to be the root element
|
||||
of our application.
|
||||
|
||||
Reference in New Issue
Block a user