MVC (Model-View-Controller)
MVC (Model-View-Controller) is a pattern in software design commonly used to implement user interfaces, data, and controlling logic. It emphasizes a separation between the software’s business logic and display.
The three parts of the MVC software-design pattern can be described as follows:
- Model: Manages data and business logic.
- View: Handles layout and display.
- Controller: Routes commands to the model and view parts.
Angular2 is a component based MVC framework. The components and directives are the controllers, the template (HTML) processed by Angular and the browser is the view.