What is AngularJS

AngularJS is a JavaScript framework for web pages. This is perfect for Single Page Application. It works with HTML by extending the attributes with directives and using expressions.

It is developed by Google and this framework is available as a set of Google APIs.

The prerequisite of using AngularJS is to add a script reference in HTML page to below JavaScript file:

http://ajax.googleapis.com/ajax/libs/angularjs/1.4.8/angular.min.js

Few important keywords to learn it are provided below:

Basic: Directives, Expressions, Filters, Modules, and Controllers

Advance: Events, DOM, Forms, Input, Validation, Http, and more.

Before you start learning AngularJS, it is important you should have knowledge of followings:

  1. HTML
  2. CSS
  3. JAVASCRIPT

What is its History…?

Once a Google Employee, Misko Hevery started playing with JavaScript in 2009 and born a new JavaScript based structural framework AngularJS. Which was adopted by Google and launched a release AngularJS version 1.0 in 2012.

A simple example

Output

Let’s understand above example:

The best thing is, while you are typing into textbox, expression prints the letters on web page. It looks like that you have handled onkeypress event in JavaScript.

More explanations:

  1. min.js

As already described on top of this article, this is a prerequisite to use AngularJS. We need to provide its reference in the HTML page using

Leave a Reply

Your email address will not be published. Required fields are marked *