Angular JS MVC Architecture | Angular JS sample Application | How Angular Integrates with HTML | #5

preview_player
Показать описание
#angularjs #angularjsmvcarchitecture
Hi, viewers today in this tutorial we discuss on the topic is:
1) Angular JS MVC Architecture?
2) Angular JS sample Application?
3) How AngularJS Integrates with HTML?
1Ans)
Model View Controller or MVC as it is popularly called, is a software design pattern for developing web applications. A Model View Controller pattern is made up of the following three parts −
Model − It is the lowest level of the pattern responsible for maintaining data.

View − It is responsible for displaying all or a portion of the data to the user.
Controller − It is a software Code that controls the interactions between the Model and View.
MVC is popular because it isolates the application logic from the user interface layer and supports a separation of concerns. The controller receives all requests for the application and then works with the model to prepare any data needed by the view. The view then uses the data prepared by the controller to generate a final presentable response.
An AngularJS application consists of the following three important parts −
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.
Рекомендации по теме
welcome to shbcf.ru