Components of AngularJS in AngularJS
There are many components of AngularJS that help us build cutting edge application, here are most of them
- Model - The data that is shown to the user. It is simple Plain Old JavaScript Object also called POJO.
- View - The viewable area or formatted data
- Controller - The business logic that drives the application
- Scope - A context that holds data models and functions.
- Directives - Extends HTML with custom elements and attributes
- Expressions - "{{ }}", used to access scope models and functions
- Template - HTML and additional markup in the form of directive and expressions
- Compiler - It parses the template and instantiate directives and expressions. In other words, compilation in AngularJS means attaching event listeners to the HTML element to make them interactive.
- Filter - It formats the value of an expression
- Data Binding - It sync data between model and view
- Dependency Injection - Creates and wires function and objects
- Injector - It is a container for dependency injection
- Module - A container for different components of the application like filters, controllers, directives etc.
- Services - resusable business logic
0 comments:
Post a Comment