aboutsummaryrefslogtreecommitdiffstats
path: root/docs/content/tutorial/step_00.ngdoc
diff options
context:
space:
mode:
authorgdennie2013-08-12 10:51:55 -0400
committerIgor Minar2013-08-21 02:26:03 -0700
commit4bd8b81bb005b2fe46c86c81592df8fae57d0351 (patch)
tree799c27940fbac4ce89c2684d33937f1450ea3d65 /docs/content/tutorial/step_00.ngdoc
parent411c84bf2cb52a0dbac75dcade2f82d7768d163d (diff)
downloadangular.js-4bd8b81bb005b2fe46c86c81592df8fae57d0351.tar.bz2
docs(tutorial): update step_00.ngdoc
Clarify the little snippet on dash vs camelCase html to directive naming pattern Closes #3550
Diffstat (limited to 'docs/content/tutorial/step_00.ngdoc')
-rw-r--r--docs/content/tutorial/step_00.ngdoc8
1 files changed, 5 insertions, 3 deletions
diff --git a/docs/content/tutorial/step_00.ngdoc b/docs/content/tutorial/step_00.ngdoc
index 146f9244..b082666b 100644
--- a/docs/content/tutorial/step_00.ngdoc
+++ b/docs/content/tutorial/step_00.ngdoc
@@ -102,9 +102,11 @@ __`app/index.html`:__
<html ng-app>
- The `ng-app` attribute represents an Angular directive (named `ngApp`; Angular uses
- `name-with-dashes` for attribute names and `camelCase` for the corresponding directive name)
- used to flag an element which Angular should consider to be the root element of our application.
+ 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
+ that implements them).
+ This directive is used to flag the html element that Angular should consider to be the root element
+ of our application.
This gives application developers the freedom to tell Angular if the entire html page or only a
portion of it should be treated as the Angular application.