Menu

AngularJS Tutorial: Introduction

November 8th, 2017

The Best #AngularJS Tutorial: #javascript #programming #webdev #AppDev #devops

  • Picture from How to structure large angularJS applications – – Here are some of the characteristics of AngularJS: – – Data-binding framework – – Data-binding is an automatic way of updating the view whenever the model changes, as well as updating the model whenever the view changes.
  • It enhances HTML by attaching directives to our pages with new attributes or tags and expressions in order to define very powerful templates directly in our HTML.
  • Facilitate building single page application (SPA) – – In a single page web application, we only have one “real” HTML page whose content can be changed in Javascript without having to download a new page.
  • In a SPA, either all necessary code – HTML, JavaScript, and CSS – is retrieved with a single page load, or the appropriate resources are dynamically loaded and added to the page as necessary, usually in response to user actions.
  • There are two types of angular script URLs we can point to, one for development and one for production: – – For angular.min.js, we can use it like this: – – The following code demonstrates the usage of the ng-directives: – – AngularJS starts automatically when the web page has…

AngularJS Tutorial: Introduction

@K0YCHEV: The Best #AngularJS Tutorial: #javascript #programming #webdev #AppDev #devops

We will learn all the basics of AngularJS: directives, expressions, templates, and data binding.

What else we need to know about AngularJS?

Controllers, Modules, Events, DOM, Forms, Input, Validation, Http, and much more.

AngularJS is a JavaScript MVC framework developed by Google.

It can be added to an HTML page with a tag. It enables us to create single-page applications that only require HTML, CSS, and JavaScript on the client side.

AngularJS extends HTML attributes with Directives and Data binding to HTML with Expressions.

AngularJS is quite new.

Version 1.0 was released in 2012 by Misko Hevery, a Google employee, started to work on AngularJS in 2009. The idea turned out very good, and the project is now officially backed by a Google development team.

Picture from How to structure large angularJS applications

Here are some of the characteristics of AngularJS:

Data-binding is an automatic way of updating the view whenever the model changes, as well as updating the model whenever the view changes. The HTML template is compiled in the browser.

The compilation step creates pure html, upon which the browser re-renders into the live view. The step is repeated for subsequent page views.

In traditional server-side HTML programming, concepts such as controller and model interact within a server process to produce new HTML views.

AngularJS Tutorial: Introduction