Core features of AngularJS

Following are the most important features of AngularJS:

Data-binding: It helps in automatic synchronization of data between model and view components.

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

Controller: These are JavaScript functions bound to a particular scope.

Services: These are singleton objects which are instantiated only once in app. AngularJS comes with several built-in services such as $http to make XMLHttpRequests.

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

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

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

Routing: It is about the concept of switching views.

Model View Whatever: MVW 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 to create,understand, and test the applications easily.

basic-features-of-angularjs

Top