From 53b2254ea70019937463d8e079e1991b3d3d1d8b Mon Sep 17 00:00:00 2001 From: Igor Minar Date: Mon, 2 Apr 2012 08:32:30 -0700 Subject: docs(tutorial): update tutorial intro + steps 0-3 also contains all kinds of fixes that I had to make in the docs app to get the tutorial to render correctly --- docs/content/tutorial/step_00.ngdoc | 102 ++++++++++++++++++++++++++++-------- 1 file changed, 79 insertions(+), 23 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 b7f469ff..643ec23b 100644 --- a/docs/content/tutorial/step_00.ngdoc +++ b/docs/content/tutorial/step_00.ngdoc @@ -1,11 +1,11 @@ @ngdoc overview -@name Tutorial: 0 - angular-seed +@name Tutorial: 0 - Bootstrapping @description -You are now ready to build the Angular phonecat application. In this step, you will become familiar +You are now ready to build the AngularJS phonecat app. In this step, you will become familiar with the most important source code files, learn how to start the development servers bundled with angular-seed, and run the application in the browser. @@ -143,23 +143,23 @@ href="http://localhost:8000/app/index.html">http://localhost:8000/app/index.html You can now see the page in your browser. It's not very exciting, but that's OK. -The static HTML page that displays "Nothing here yet!" was constructed with the HTML code shown -below. The code contains some key Angular elements that we will need going forward. +The HTML page that displays "Nothing here yet!" was constructed with the HTML code shown below. +The code contains some key Angular elements that we will need going forward. __`app/index.html`:__
 
-
+
 
   
   my angular app
-  
+  
+  
 
 
 
-  Nothing here yet!
+  Nothing here {{'yet' + '!'}}
 
-  
 
 
 
@@ -168,30 +168,70 @@ __`app/index.html`:__ ## What is the code doing? -* xmlns declaration +* `ng-app` directive: - + - This `xmlns` declaration for the `ng` namespace must be specified in all Angular applications in -order to make Angular work with XHTML and IE versions older than 9 (regardless of whether you are -using XHTML or HTML). + `ng-app` directive is a special tag 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. -* Angular script tag +* AngularJS script tag: