1.

What is AngularJS architecture?

Answer»

AngularJS FOLLOWS MVC architecture. Here is a diagram of the MVC FRAMEWORK to BRING some clarity.

Controllers: Basically used to represent the layer comprising of the business logic. The user events trigger functions that have been stored in the controller.

Views: These are used in the ANGULAR architecture to DEPICT the presentation layer provided to the end-users/consumers.

Models: In Angular, models are used to represent your data.



Discussion

No Comment Found