from Hacker News

AngularJS isn't MVC, it's SDC

by vuknje on 4/1/14, 11:03 PM with 1 comments

  • by pedalpete on 4/1/14, 11:57 PM

    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.