Skip to content

Comment on AngularJS isn't MVC, it's SDC

Comments

The author has just renamed MVC to match the terminology that Angular uses. It's still the same thing.

Model is used to manage data from a web service, Angular calls it a Service (or Factory).

Views output the markup injected into the DOM, same as a Directive.

Controllers bind the Models and Views, and just so happen to have the same name in Angular.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.