Angular JS – Introduction

Angular JS is a UI framework maintained by Google, helps to separate the model, view and Controller(MVC) components in front end UI.

It clearly separates client side execution from the application logic.

It enables developers to easily create custom HTML elemens with new attributes which helps re-use custom defined tags.

Angular JS has scope variables which forms the Model(Data), which binds the View(access to data) and Controller(logic).

Angular JS are useful in developing Single Page Applications.(Where OnePage requests is independent of another Page)

Following are components are used to develop Angular JS applications.

Directives
Controllers
Expressions
Filters
Modules

Angular JS applications is initialized by Bootstrap Loader.
Bootstrap Loader starts with creation of new Injector(For DOM)

Injector creation-> Directives compilation -> Link Directive to Scope variables.

Angular-JS Example:

Output:

Leave a Reply

Your email address will not be published. Required fields are marked *