Development History

AngularJS was originally developed in 2009 by Miško Hevery[15] at Brat Tech LLC[16] as the software behind an online JSON storage service, that would have been priced by the megabyte, for easy-to-make applications for the enterprise. This venture was located at the web domain "",[16] and had a few subscribers, before the two decided to abandon the business idea and release Angular as an open-source library.


AngularJS (commonly referred to as "Angular.js" or "AngularJS") is a JavaScript-based open-source front-end web application framework mainly maintained by Google and by a community of individuals and corporations to address many of the challenges encountered in developing single-page applications. The JavaScript components complement Apache Cordova, a framework used for developing cross-platform mobile apps. It aims to simplify both the development and the testing of such applications by providing a framework for client-side model–view–controller (MVC) and model–view–viewmodel (MVVM) architectures, along with components commonly used in rich Internet applications. In 2014, the original AngularJS team began working on the Angular application platform.

The AngularJS framework works by first reading the HTML page, which has additional custom tag attributes embedded into it. Angular interprets those attributes as directives to bind input or output parts of the page to a model that is represented by standard JavaScript variables. The values of those JavaScript variables can be manually set within the code, or retrieved from static or dynamic JSON resources.

According to JavaScript analytics service Libscore, AngularJS is used on the websites of Wolfram Alpha, NBC, Walgreens, Intel, Sprint, ABC News, and about 12,000 other sites out of 1 million tested in October 2016.AngularJS is currently in the top 100 of the most starred projects on GitHub.

AngularJS is the frontend part of the MEAN stack, consisting of MongoDB database, Express.js web application server framework, Angular.js itself, and Node.js server runtime environment.


AngularJS extends HTML with new attributes called Directives.

AngularJS has a set of built-in directives which offers functionality to your applications.

AngularJS also lets you define your own directives.

AngularJS directives are extended HTML with ng-directives

  • ng-app
  • ng-app directive defines the root element of an AngularJS application.

    The ng-app directive will auto-bootstrap (automatically initialize) the application when a web page is loaded.

  • ng-init
  • ng-initdirective defines initial values for an AngularJS application.

    Normally, you will not use ng-init. You will use a controller or module instead.

  • ng-model
  • ng-modeldirective binds the value of HTML controls (input, select, textarea) to application data.

    The ng-model directive can also:

    Provide type validation for application data (number, email, required).

    Provide status for application data (invalid, dirty, touched, error).

    Provide CSS classes for HTML elements.Bind HTML elements to HTML forms.