WHAT IS ANGULAR JS

Anupam Mishra

Total Post:23

Points:115
Posted by  Anupam Mishra
 530  View(s)
Ratings:
Rate this:
  1. Anupam Mishra

    Post:23

    Points:115
    What is Angular JS

                                                                                    

    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>

    <html>

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

    <body> 

    <div ng-app="">

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

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

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

    </div>

    </body>

    </html>




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

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!