From 1b34c6d558ab2c138d9e432553f4aebfdeeb5084 Mon Sep 17 00:00:00 2001 From: brettcannon Date: Wed, 18 Jul 2012 15:55:52 -0300 Subject: doc(misc) Mention how attribute names map to directive names. --- docs/content/tutorial/step_00.ngdoc | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'docs/content/tutorial/step_00.ngdoc') diff --git a/docs/content/tutorial/step_00.ngdoc b/docs/content/tutorial/step_00.ngdoc index 231e873a..1e3c61a0 100644 --- a/docs/content/tutorial/step_00.ngdoc +++ b/docs/content/tutorial/step_00.ngdoc @@ -173,10 +173,11 @@ __`app/index.html`:__ - The `ng-app` attribute is represents an Angular directive used to flag an element which 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. + The `ng-app` attribute is 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. + 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. * AngularJS script tag: -- cgit v1.2.3