AngularJS implements MVC in a client-side, two-way-data-binding form: the model is typically a scope object or a service holding application data, the view is the DOM (usually a template with directives), and the controller is a JavaScript constructor that prepares model data and behavior for a view; in practice AngularJS behaves more like MVVM (or MVC-with-a-view-model) because the $scope object sits between controller and template and the framework’s digest loop performs the synchronization that a classic MVC framework would leave to hand-written glue code. That distinction—MVC as the architectural label, MVVM-like scope binding as the mechanism—is the key to understanding what AngularJS does and where the label misleads.
Where the confusion begins: three different things called “MVC”
AngularJS is usually described in the documentation and community writing as following an MVC pattern, but the term is applied to at least three overlapping arrangements, and mixing them produces most of the argument about whether AngularJS “is really MVC.”
1: Classic Smalltalk/Struts-style MVC: a model notifies observers; a controller handles input and updates the model; a view renders the model. The controller and view are usually distinct objects, and synchronization is explicit. 2: AngularJS’s own description: controller + $scope as the model + template as the view, with directives extending the view and services holding shared model logic. 3: MVVM as commonly stated in AngularJS discussions: the template is the view, the controller is the view-model, and $scope/this is the binding surface.
The framework does not enforce one arrangement. AngularJS is a framework with a dependency-injection container, a template compiler, directives, and a digest-based binding system; MVC is the organizing convention layered on top, not a runtime guarantee. Saying “AngularJS uses MVC” is accurate as a description of its intended structure. Saying “AngularJS is a strict MVC framework” overstates it, because the framework never prevents a controller from manipulating the DOM, never forces models into a separate class, and never forbids putting business logic in a template expression.
The model in AngularJS
In AngularJS the model is not a single required class. It is whatever holds the data the view displays and the controller acts on. Three common forms:
Scope properties: $scope.user = { name: "Ada" } inside a controller. The object is plain JavaScript; AngularJS watches it. Services and factories: a singleton such as userService that fetches and caches data, injected into controllers. This is the closest analogue to a domain model or repository, and it is where shared state and server communication usually live. Values and constants: simple configuration objects registered with the injector.
A minimal example makes the roles concrete:
Here cartModel is the model: it owns the item list and the total calculation. The controller exposes it to the template and defines the user action. The template renders cart.items and calls addToCart(product). Note that the model is a singleton service, not a per-view object—shared state in AngularJS usually lives in services, while per-view state lives on $scope.
The view in AngularJS
The view is the DOM produced by an HTML template plus AngularJS directives. Two features make AngularJS’s view unusual compared with server-rendered MVC:
Declarative binding: {{ expression }} and ng-bind display model values; ng-model creates two-way binding on form controls; ng-repeat, ng-if, and ng-class control structure and appearance. Directives as view logic: a directive such as ng-click or a custom element attaches behavior to the DOM. Directives are the main extension point of the view layer and can encapsulate their own scope, template, and controller.
The template is compiled by $compile, which links expressions to scope and sets up watchers. This is why the “view” in AngularJS is not a passive string: it is an active, compiled DOM subtree whose bindings participate in change detection.
The controller in AngularJS
A controller is a JavaScript constructor registered with angular.module(...).controller(...) and attached to a DOM region through ng-controller. Its jobs are conventionally narrow:
Initialize scope state for the view. Expose callable behavior (event handlers) to the template. Delegate real work—HTTP calls, persistence, shared logic—to services.
The controller as vm syntax binds the controller instance itself to the template, so vm.cart reaches the injected model without putting everything on $scope. Both styles—$scope properties and controller as—are legitimate AngularJS; the second is generally preferred in later 1.x code because it makes the binding surface explicit and avoids scope-inheritance surprises.
What a controller should not do, per AngularJS’s own guidance, is manipulate the DOM directly (use directives), or carry large amounts of shared business logic (use services). That guidance is the practical content of “MVC” in AngularJS: separation of concerns by convention, not by compiler enforcement.
Why it is more accurately MVVM-like
The strongest reason to call AngularJS MVVM-like rather than strict MVC is the role of $scope (or the controller instance) as a view-model: a presentation-shaped object that the template binds to, with the framework synchronizing changes in both directions.
| Concern | Classic MVC | AngularJS in practice |
|---|---|---|
| Synchronization | Explicit: view observes or re-reads model | Implicit: digest loop and watchers |
| Middle object | Usually none; controller and view are separate | $scope or controller instance acts as view-model |
| Input handling | Controller receives events and updates model | ng-model/ng-click bind directly to view-model; controller methods perform updates |
| View updates | View re-renders from model | Bindings update when digest detects changes |
| Testability | Controller tested with mocked view | Controller tested with mocked $scope/services; bindings tested separately |
The digest loop is the mechanism that makes the view-model useful: after any AngularJS-aware event (a directive like ng-click, an $http response, a $timeout callback), AngularJS runs $digest, re-evaluates watchers, and updates the DOM where values changed. Two-way binding via ng-model adds a watcher in the other direction, so typing in an input writes back to the model. This loop is what a hand-written MVC implementation would have to build itself, and it is why AngularJS code often looks like MVVM: the template talks to a presentation object, and the framework handles the plumbing.
A counterexample sharpens the point. If you write a controller that builds DOM nodes with document.createElement and updates them manually on ng-click, you are doing something closer to a hand-rolled MVC with an imperative view—and you are fighting the framework. If you write a controller that only sets vm.title and lets {{ vm.title }} render it, you are using the view-model style AngularJS is designed around. Both compile and run; only the second matches the framework’s grain.
Directives, scope inheritance, and the “model” that is not a class
Two AngularJS-specific details complicate the MVC label further.
Scope inheritance. Child scopes created by ng-repeat, ng-if, and directive isolate/prototype scopes inherit prototypally from parent scopes. Primitives assigned on a child scope shadow the parent; objects are shared by reference. This is why “the dot rule”—bind to vm.user.name rather than $scope.name—is repeated in AngularJS guidance. It is also why the model in AngularJS is often described as “whatever the scope points to” rather than a typed domain object: scope is a dynamic bag of properties, and its inheritance behavior is part of the architecture whether or not it is called MVC.
Directives with their own controllers. A directive can declare controller, template, and scope, making it a small self-contained MVC unit. A directive might have its own controller, an isolate scope for its inputs, and a template for its view. This is arguably the most MVC-faithful part of AngularJS: reusable components with separated concerns. But it also means “the controller” in AngularJS is not one per page—there can be many nested controllers, each paired with a scope and a template fragment.
What the label gets right and where it stops applying
The MVC label is useful because it captures real guidance:
Keep DOM manipulation in directives, not controllers. Keep shared data and server logic in services, not controllers. Keep controllers thin: initialize state and expose actions. Let templates declare bindings rather than imperatively updating the DOM.
It stops applying when treated as a strict taxonomy:
There is no required model class, no observer registration, and no enforced separation between view and view-model at runtime. $scope is not a classical model; it is a binding context that can contain data, functions, and references to services all at once. Business logic can legally live in a template expression, a filter, a directive, or a controller, even if convention discourages some of those placements. The framework’s change detection is not MVC’s observer pattern; it is dirty-checking over registered watchers, which has different performance characteristics (watcher count matters, and deep watches are expensive).
In short: AngularJS’s architecture is MVC by convention and MVVM-like by mechanism. The model is usually a service or scope object, the view is a compiled template with directives, and the controller is a thin constructor exposing a view-model; the digest loop supplies the synchronization that makes the pattern work.
Version and scope of this answer
This describes AngularJS 1.x, the original framework (often called “AngularJS” to distinguish it from Angular 2+). The reference date of November 14, 2026, matters here: AngularJS 1.x reached end of life on December 31, 2021, after which the Angular team stopped publishing updates, including security patches. The architecture described above is therefore historical and legacy-maintenance knowledge, not a recommendation for new development. Angular (2+) is a different framework with a different architecture—components, templates, and change detection via Zone.js and, later, signals—and its “MVC” discussion does not carry over cleanly. If a passage, tutorial, or job listing says “Angular” without a version, check which one is meant before applying any of this.
The question also does not specify an AngularJS version within 1.x. The core MVC/scope/digest model is stable across 1.x, but details differ: controller as became idiomatic in later 1.x, component-style directives (component()) arrived in 1.5, and one-time binding (::) in 1.3 changed performance guidance. None of those change the architectural answer, but they change which idioms a given codebase uses.
FAQ
Is $scope the model or the view-model?
It functions as the view-model: it is the object templates bind to and controllers populate. The actual model is usually the data those properties reference—often an object held by a service.
Can AngularJS be used without controllers?
Yes. Components and directives can carry their own controllers, and ng-controller is optional in the sense that bindings can attach to a root scope. But some controller-like object is almost always present; removing controllers entirely usually means pushing logic into directives, which is a different separation, not an absence of one.
Does two-way binding make it not MVC?
No—it makes it MVVM-like. Two-way binding is a synchronization mechanism, not a negation of separation of concerns. The concern is whether view and logic stay separable and testable, which AngularJS supports through dependency injection and scope mocking.
Why do some sources call AngularJS MVW (“Model-View-Whatever”)?
Because the framework does not enforce a single pattern, and the community used “MVW” to acknowledge that controllers, view-models, and directive-scoped components all fit. It is a label of convenience, not a formal specification.
Is AngularJS MVC the same as ASP.NET MVC or Rails MVC?
No. Those are server-side frameworks with routed controllers, server-rendered views, and persistent models. AngularJS runs in the browser, its “view” is a compiled DOM, and its model is in-memory JavaScript synchronized with a server via $http or $resource. The shared vocabulary hides substantial differences in lifecycle and synchronization.