AngularJS is based on MVC framework, where MVC stands for Model-View-Controller. MVCperforms the following operations:
A model is the lowest level of the pattern responsible for maintaining data.
A controller is responsible for a view that contains the logic to manipulate that data. It is basically a software code which is used for taking control of the interactions between the Model and View.
A view is the HTML which is responsible for displaying the data.
For example, a $scope can be defined as a model, whereas the functions written in angular controller modifies the $scope and HTML displays the value of scope variable.