Thursday, 4 June 2015

Introduction to Angular JS

Basics of Angular JS 



WHAT IS ANGULAR JS?

AngularJS is a very powerful JavaScript library. It is used in Single Page Application (SPA) projects. It extends HTML DOM with additional attributes and makes it more responsive to user actions. 

FEATURES:
  1. AngularJS is a powerful JavaScript based development framework to create RICH Internet Application(RIA).
  2. AngulajJS provides developers options to write client side application (using JavaScript) in a clean MVC(Model View Controller) way.
  3. Application written in AngularJS is cross-browser compliant. AngularJS automatically handles javascript code suitable for each browser.


      Some Important parts of Angular JS-
        AngularJS Concepts


        Following are most important core features of AngularJS:
        Data-binding: It is the automatic synchronization of data between model and view components.

        Scope: These are objects that refer to the model. They act as a glue between controller and view.

        Controller: These are Javascript functions that are bound to a particular scope.

        Services: AngularJS come with several built-in services for example $http to make a XMLHttpRequests. These are singleton objects which are instantiated only once in app.

        Filters: These select a subset of items from an array and returns a new array.

        Directives: Directives are markers on DOM elements (such as elements, attributes, css, and more). These can be used to create custom HTML tags that serve as new, custom widgets. AngularJS has built-in directives (ngBind, ngModel...)

        Templates:These are the rendered view with information from the controller and model. These can be a single file (like index.html) or multiple views in one page using "partials".

        Routing: It is concept of switching views.

        Model View Whatever: MVC is a design pattern for dividing an application into different parts (called Model, View and Controller), each with distinct responsibilities. AngularJS does not implement MVC in the traditional sense, but rather something closer to MVVM (Model-View-ViewModel). The Angular JS team refers it humorously as Model View Whatever.

        Deep Linking: Deep linking allows you to encode the state of application in the URL so that it can be bookmarked. The application can then be restored from the URL to the same state.

        Dependency Injection: AngularJS has a built-in dependency injection subsystem that helps the developer by making the application easier to develop, understand, and test.

        Reference : http://www.tutorialspoint.com/

        No comments:

        Post a Comment

        Join US Our Community
        ×