angular js - Forum
preloader

AngularJS:

AngularJS is an open source web application framework.

AngularJS is a structural framework for dynamic web apps. It lets you use HTML as your template language and lets you extend HTML's syntax to express your application's components clearly and succinctly. Angular's data binding and dependency injection eliminate much of the code you currently have to write. And it all happens within the browser, making it an ideal partner with any server technology.

Features:

AngularJS is a powerful JavaScript-based development framework to create RICH Internet Application(RIA).

AngularJS provides developers options to write a client-side application (using JavaScript) in a clean MVC(Model View Controller) way.

The application written in AngularJS is cross-browser compliant. AngularJS automatically handles JavaScript code suitable for each browser.

AngularJS is open source, completely free, and used by thousands of developers around the world. It is licensed under the Apache License version 2.0.

Overall, AngularJS is a framework to build large-scale and high-performance web application while keeping them as easy-to-maintain.

Advantages of AngularJS:

AngularJS provides the capability to create Single Page Application in a very clean and maintainable way.

AngularJS provides data binding capability to HTML thus giving user a rich and responsive experience

AngularJS code is unit testable.

AngularJS uses dependency injection and makes use of separation of concerns.

AngularJS provides reusable components.

With AngularJS, the developer writes less code and get more functionality.

At AngularJS, views are pure HTML pages, and controllers written in JavaScript do the business processing.

On top of everything, AngularJS applications can run on all major browsers and smartphones including Android and iOS-based phones/tablets.

Disadvantages of AngularJS:

Though AngularJS comes with lots of plus points same time we should consider the following points ?

Not Secure ? Being JavaScript only framework, an application written in AngularJS is not safe. Server-side authentication and authorization are must to keep an application secure.

Not degradable ? If your application user disables JavaScript then the user will just see the basic page and nothing more.

The AngularJS Components:

ng-app ? This directive defines and links an AngularJS application to HTML.

ng-model ? This directive binds the values of AngularJS application data to HTML input controls.

ng-bind ? This directive binds the AngularJS Application data to HTML tags.

Comments

priyadharshini on 22nd Nov 2017, 09:55 AM

Could you please explain me the difference between JS and AngularJS ?

priyanka_r on 22nd Nov 2017, 10:06 AM

JavaScript is a language written for websites to run in the client’s browser.

Angular is a hip JavaScript framework which is made for building large, single-page web applications.AngularJS is a full frontend MVC framework for JavaScript web applications. It was built at Google and provides a way to quickly build large, single-page web applications. Like jQuery, it is included in a page using the <script> tag and is itself written in JavaScript. Unlike jQuery, it is meant to be a framework upon which an entire web application is built. It actually includes a minimal version of jQuery by default.

Arivazhagan on 1st Dec 2017, 05:14 AM

What about Directives in AngularJS?

priyanka_r on 2nd Dec 2017, 11:56 AM

AngularJS directives are extended HTML attributes with the prefix ng-. The ng-app directive initializes an AngularJS application. The ng-model directive binds the value of HTML controls to application data.

Leave a comment