From 18654dab16ebe729943e6f808ca4f8383a8233c3 Mon Sep 17 00:00:00 2001 From: Frank Stepanski Date: Fri, 16 Sep 2016 14:29:27 -0400 Subject: [PATCH 1/2] Updated README.md - Add additional introductory paragraph --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index e5bf75ab8fce..8e0a5f47b3d1 100644 --- a/README.md +++ b/README.md @@ -8,6 +8,8 @@ synchronizes data from your UI (view) with your JavaScript objects (model) throu binding. To help you structure your application better and make it easy to test, AngularJS teaches the browser how to do dependency injection and inversion of control. +HTML is also used to determine the execution of the app. Special attributes in the HTML determine which controllers to use for each element. These attributes determine "what" gets loaded, but not "how". This declarative approach greatly simplifies app development in a sort of WYSIWYG way. Rather than spending time on how the program flows and what should get loaded first, you simply define what you want and Angular will take care of the dependencies. + It also helps with server-side communication, taming async callbacks with promises and deferreds, and it makes client-side navigation and deeplinking with hashbang urls or HTML5 pushState a piece of cake. Best of all? It makes development fun! From 287d0eb46dc3ba8d7de4869d67e1643ae22ed15e Mon Sep 17 00:00:00 2001 From: Frank Stepanski Date: Sat, 8 Oct 2016 12:27:22 -0400 Subject: [PATCH 2/2] Updated README.md --- README.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 8e0a5f47b3d1..c78f9a194679 100644 --- a/README.md +++ b/README.md @@ -8,8 +8,6 @@ synchronizes data from your UI (view) with your JavaScript objects (model) throu binding. To help you structure your application better and make it easy to test, AngularJS teaches the browser how to do dependency injection and inversion of control. -HTML is also used to determine the execution of the app. Special attributes in the HTML determine which controllers to use for each element. These attributes determine "what" gets loaded, but not "how". This declarative approach greatly simplifies app development in a sort of WYSIWYG way. Rather than spending time on how the program flows and what should get loaded first, you simply define what you want and Angular will take care of the dependencies. - It also helps with server-side communication, taming async callbacks with promises and deferreds, and it makes client-side navigation and deeplinking with hashbang urls or HTML5 pushState a piece of cake. Best of all? It makes development fun! @@ -63,6 +61,11 @@ Unlike other frameworks in any programming language, where MVC, the three separa #### Interconnection with HTML at the root level AngularJS uses HTML to define the user's interface. AngularJS also enables the programmer to write new HTML tags (AngularJS Directives) and increase the readability and understandability of the HTML code. Directives are AngularJS’s way of bringing additional functionality to HTML. Directives achieve this by enabling us to invent our own HTML elements. This also helps in making the code DRY (Don't Repeat Yourself), which means once created, a new directive can be used anywhere within the application. +HTML is also used to determine the execution of the app. Special attributes in the HTML determine which controllers to use +for each element. These attributes determine "what" gets loaded, but not "how". This declarative approach greatly simplifies app +development in a sort of WYSIWYG way. Rather than spending time on how the program flows and what should get loaded first, +you simply define what you want and Angular will take care of the dependencies. + #### Data Handling made simple Data and Data Models in AngularJS are plain JavaScript objects and one can add and change properties directly on it and loop over objects and arrays at will.