Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
  • AngularJS - Tutorial 1

    • 0
    • 1
    • 0
    • 7
    • 0
    • 0
    • 0
    • 0
    • 438
    Comment on it

    AngularJS

    What is Angular ?

    AngularJS is a JavaScript library which is used for Single Page Application. It is a open source and cost free, It extends HTML with new attributes.

    Note:-

    • 1) AngularJS is an open source web application framework.
    • 2) latest version is 1.3.14.
    • 3) Originally developed in 2009 by Misko Hevery and Adam Abrons.
    • 4) Now maintained by Google.
    • 5) Its provides options to write client side application in MVC way.
    • 6) It is licensed under the Apache License version 2.0.

    Below are important core features of AngularJS:

    Scope : These are object that refer to model. they are work like GLUE between controller and view,

    Data-binding : It automatically synchronizes AngularJS expressions with AngularJS data.

    Controller: All AngularJS applications are controlled by controllers. These are Javascript functions that are bound to a particular scope.
    ng-controller directive defines the application controller.

    Filters : These select a subset of items from an array and returns a new array. It can be added to expressions and directives using a pipe character.
    Example:-
    Filter -> Description
    currency -> Format a number to a currency format.
    filter -> Select a subset of items from an array.
    lowercase -> Format a string to lowercase.
    orderBy -> Orders an array by an expression.
    uppercase -> Format a string to upper case.

    Directives : It is an important part of angularJS. Directives are extended HTML attributes with the prefix ng-.

    • ng-app - initializes an AngularJS application. It can be only one in an app.
    • ng-init - initializes application data.
    • ng-model - Its work like a variable. Its binds the value of HTML controls (input, select, textarea) to application data.

    Expression :

    • 1) Expression are used to bind application data to HTML.
    • 2) Expression are written inside duble curly braces {{Expression}}.,
    • 3) Angular JS Expression are pure JS exprission & Output the data where they are used

 0 Comment(s)

Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: