Home > DeveloperSection > Interviews > What is Angular JS

Posted on    February-22-2016 11:21 PM

 JavaScript JavaScript  HTML  Angular JS  CSS 
 1 Answer(s)
  281  View(s)
Rate this:

Anupam Mishra

Total Post:23

Posted on    February-23-2016 12:21 AM

AngularJS  is an open-source 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. 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.

The AngularJS framework works by first reading the HTML page, which has embedded into it additional custom tag attributes. 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.
AngularJS is  also a JavaScript framework. It can be added to an HTML page with a <script> tag. AngularJS extends HTML attributes with Directives, and binds data to HTML with Expressions.
For example, We are taking a snapshot of Angular Js coding structure in a simple html page that are follows:

<!DOCTYPE html>


<script src="http://ajax.googleapis.com/ajax/libs/angularjs/1.4.8/angular.min.js"></script>


<div ng-app="">

<p>This is a input box:</p>

<p>Name: <input type="text" ng-model="name"></p>

<p ng-bind="name"></p>




Modified On Feb-22-2016 11:24:25 PM

Don't want to miss updates? Please click the below button!

Follow MindStick